Open DetachHead opened 3 years ago
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 properties