-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support .yaml
#91
Comments
Hi Jordan! I don't want to support both file extensions because of the impact on start up time. Every project decided which file extension to use. Rails and Docker chose |
Docker now supports Would it not be a simple check for either file here: Line 53 in 0ee405a
|
It's not a simple check. A DIP's config is searched recursively in every parent folder among with an |
Not to be rather terse but the YAML maintainers do state that I do think holding to the YAML spec of using Perhaps an alternate approach with these recursive checks could be to either:
|
Above is the advice, not the specification.
I don't think this is the only reason.
This is an unnecessary big breaking change. It's not possible. If someone wants to implement supporting of both extensions, they should make sure below:
|
Describe the bug
Currently only
.yml
is supported, e.g.dip.yml
and notdip.yaml
.To Reproduce
dip.yaml
configuration, including the default but renamed todip.yml
.For completeness here is the configuration explicitly
With the following
file:
dip.yaml
The exact same file as
dip.yaml
Expected behavior
Works as it would if said config file was named
dip.yml
.Context (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: