Skip to content

Allow optional usage of propertiesFile in DatabaseConnectionConfig.#3905

Merged
awildturtok merged 2 commits into
developfrom
feature/expose-hikari-config
Jun 10, 2026
Merged

Allow optional usage of propertiesFile in DatabaseConnectionConfig.#3905
awildturtok merged 2 commits into
developfrom
feature/expose-hikari-config

Conversation

@awildturtok

Copy link
Copy Markdown
Collaborator

No description provided.

@awildturtok awildturtok requested a review from thoniTUB as a code owner June 8, 2026 13:55
@awildturtok awildturtok force-pushed the feature/expose-hikari-config branch from d0b1ef2 to 787c31e Compare June 9, 2026 06:48
Comment on lines 76 to 78
hikariConfig.setJdbcUrl(getJdbcConnectionUrl());
hikariConfig.setUsername(getDatabaseUsername());
hikariConfig.setPassword(getDatabasePassword());

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das kann Werte aus dem PropertiesFile wieder nullen.

Kannst du die HirakiConfig nicht per Mixin deserialisieren?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das kann Werte aus dem PropertiesFile wieder nullen.

Oh danke für den Hinweis.

Kannst du die HirakiConfig nicht per Mixin deserialisieren?

Das hatte ich als erstes probiert, aber das soll man explizit nicht machen. die schlagen vor, dass man ein DAO für die spezifics die man mappen will erstellt. Aber ich will ja genau das gegenteil erreichen.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also es hat dann auch direkt geknallt

@awildturtok awildturtok force-pushed the feature/expose-hikari-config branch from 787c31e to 26e4cde Compare June 10, 2026 08:09
@awildturtok awildturtok requested a review from thoniTUB June 10, 2026 08:09

@thoniTUB thoniTUB left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tabs please :)

@awildturtok awildturtok force-pushed the feature/expose-hikari-config branch from 26e4cde to 02606b5 Compare June 10, 2026 13:18
@awildturtok awildturtok force-pushed the feature/expose-hikari-config branch from 02606b5 to 1c3bd44 Compare June 10, 2026 13:21
@awildturtok awildturtok enabled auto-merge (squash) June 10, 2026 13:31
@awildturtok awildturtok merged commit 988cc4f into develop Jun 10, 2026
11 checks passed
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.

2 participants