Skip to content

Name the Kodein JDBC files after what they hold - #66

Merged
rocketraman merged 1 commit into
masterfrom
rg/kodein-file-names
Nov 10, 2026
Merged

rocketraman merged 1 commit into
masterfrom
rg/kodein-file-names

Conversation

@rocketraman

@rocketraman rocketraman commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Renames four Kodein flavor files for clarity:

Before After Holds
boot-db-jdbc/.../JdbcModule.kt JdbcDataSourceModule.kt jdbcDataSourceModule
boot-db-jdbc-sqlite/.../SqliteModule.kt SqliteConfigSource.kt sqliteConfigModule
boot-db-jdbc-mysql/.../MysqlModule.kt MysqlConfigSource.kt mysqlConfigModule
boot-db-jdbc-postgresql/.../PostgresqlModule.kt PostgresqlConfigSource.kt postgresqlConfigModule

The contents are unchanged. The files are new since 3.0.0, so the change to their JVM file classes breaks no published binary.

The JDBC, SQLite, MySQL and PostgreSQL modules build, with their tests, and so does the Kodein server example.

JdbcModule.kt holds jdbcDataSourceModule, and SqliteModule.kt,
MysqlModule.kt and PostgresqlModule.kt each hold a driver module's
config module. Rename them to JdbcDataSourceModule.kt and
SqliteConfigSource.kt etc., matching the Inara flavor's files.

The files are new since 3.0.0, so their file classes changing breaks
no published binary.
@claude

claude Bot commented Nov 10, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@rocketraman
rocketraman merged commit 066f012 into master Nov 10, 2026
1 of 2 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.

1 participant