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
Currently it throws an error when .app-config.yml isn't found, even if a .app-config.secrets.yml file exists with all of the required properties
The text was updated successfully, but these errors were encountered:
DetachHead
changed the title
allow loading all config from .app-config.secrets.* without `.app
allow loading all config from .app-config.secrets.* without .app-config.*May 18, 2021
Interesting, that makes enough sense. FWIW if you need a workaround, you can of course just touch .app-config.yml.
In terms of implementing this suggestion, I think we'll need to catch a NotFoundError on the main config file source, try to validate only secrets, and in case of error, just throw up the NotFoundError again.
It's a bit tricky though, because you might be intending to just use app-config secrets, and happen to have a validation error. Maybe a warning log with the validation error is enough.
Currently it throws an error when
.app-config.yml
isn't found, even if a.app-config.secrets.yml
file exists with all of the required propertiesThe text was updated successfully, but these errors were encountered: