Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
DatabaseConfig
as a higher-level configuration abstraction:
- DatabaseConfig encapsulates a Slick driver, a database configuration (as in Database.forConfig) and optionally extra configuration parameters. - SourceCodeGenerator can use DatabaseConfig for all configuration parameters. - The StaticDatabaseConfig annotation provides a configuration which is known at compile-time. It is used by the `tsql` interpolator. Tests in TypedStaticQueryTest. I could not find a way to get application.conf on the compiler class path, therefore it is referenced via a relative file: URL.
- Loading branch information
Showing
13 changed files
with
584 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.