You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In large projects, especially monorepos, there can be multiple databases, users, etc. While it is trivial to have multiple 'config' files that support each DB, it is not acceptable to commit these credentials into source. The library currently supports common PG ENV variables but this is limited to a single database, making it impossible to define multiple ENV
Describe the solution you'd like
Taking inspiration from the templatized {{dir}} {{name}} I plan to allow consumers to dynamically specify which ENV vars to use in the db config:
Is your feature request related to a problem? Please describe.
In large projects, especially monorepos, there can be multiple databases, users, etc. While it is trivial to have multiple 'config' files that support each DB, it is not acceptable to commit these credentials into source. The library currently supports common PG ENV variables but this is limited to a single database, making it impossible to define multiple ENV
Describe the solution you'd like
Taking inspiration from the templatized
{{dir}} {{name}}
I plan to allow consumers to dynamically specify which ENV vars to use in the db config:It should be simple enough to have the config parser pick up these variables rather than use the default PG onese
Additional context
Somewhat related to #504
The text was updated successfully, but these errors were encountered: