Skip to content

Use DatabaseProperties class to distribute import configuration to backend code#890

Merged
lonvia merged 4 commits intokomoot:masterfrom
lonvia:cleanup-propoerties
May 12, 2025
Merged

Use DatabaseProperties class to distribute import configuration to backend code#890
lonvia merged 4 commits intokomoot:masterfrom
lonvia:cleanup-propoerties

Conversation

@lonvia
Copy link
Collaborator

@lonvia lonvia commented May 12, 2025

There are quite a few import settings now that need to be handed into the different classes. To stop the proliferation of function parameters, this changes the handling so that a DatabaseProperties instance functions as the global configuration container which is forwarded to whoever needs the configuration.

@lonvia lonvia merged commit 0ae3bf9 into komoot:master May 12, 2025
4 checks passed
@lonvia lonvia deleted the cleanup-propoerties branch May 12, 2025 14:02
lonvia added a commit that referenced this pull request May 16, 2025
Fix accidental rename of version field in database

#890 accidentally renamed the version field in the properties entry from 'databaseVersion' to 'version'. Revert that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant