Configurable database connection strings. #101
Labels
enhancement
New feature or request
go
Pull requests that update Go code
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently each database connection string is hardcoded in the respective
sql.Repository
implementation. This is a bit inflexible for users who have require more complicated database connections, such as configuring TLS or proxy settings. This is mitigated at least for Postgres since the driver allows for environment variables, although we're not so lucky for otherOne option is to make the entire connection string as an input parameter. Another option would be to accept a set of key/values which we can append to the connection string. I'm open to suggestions here.
The text was updated successfully, but these errors were encountered: