Skip to content

[MS-925] Run modality migrations only if modality is present in configuration#1124

Merged
BurningAXE merged 1 commit into
mainfrom
MS-925-Face-and-fingerprint-bio-SDK-config-migrations-run-needlessly-when-only-one-modality-is-enabled
Mar 6, 2025
Merged

[MS-925] Run modality migrations only if modality is present in configuration#1124
BurningAXE merged 1 commit into
mainfrom
MS-925-Face-and-fingerprint-bio-SDK-config-migrations-run-needlessly-when-only-one-modality-is-enabled

Conversation

@BurningAXE
Copy link
Copy Markdown
Contributor

@BurningAXE BurningAXE commented Mar 4, 2025

Found out by chance that a lot of the migrations for a modality run when this modality is not enabled, creating bogus config. E.g. if you have a fingerprint project, face config migrations would run and would create a face configuration with some defaults.

@cla-bot cla-bot Bot added the ... label Mar 4, 2025
@BurningAXE BurningAXE requested review from a team, TristramN, alex-vt, alexandr-simprints, luhmirin-s, meladRaouf and ybourgery and removed request for a team March 4, 2025 13:29
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 4, 2025

@BurningAXE BurningAXE merged commit 3421d0f into main Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants