This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
Enhancement: Create more flexible environment configurations #17
Labels
configuration
Repo / project level configuration changes - no functional code changes
enhancement
New feature or request
We could "merge" defaults with local settings if we wanted, by rewriting this file as:
That way we could put the defaults in
environment.ts
and anything not explicitly overwritten inenvironment.local.ts
would flow through from there.I've never done this on a project before, but I have wondered if it would be beneficial...
If we did that, there might be better names for the files, like:
environment.local.user.sample.ts
- user specific local sample (committed)environment.local.user.ts
- user specific local configuration copied fromenvironment.local.user.sample.ts) (gitignored)
environmemt.local.ts` - default local (committed)Thoughts?
Originally posted by @seangwright in https://github.com/KyleMcMaster/payroll-processor/pull/15/files
The text was updated successfully, but these errors were encountered: