We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I having config files with different extensions, and some defined using an APP_INSTANCE, the loading order is not the expected one.
Let's say I have following files:
development-instance.json development-instance.yml development.yml
They are currently loaded as:
development-instance.json development.yml development-instance.yml
Expected behavior From the documentation (and checking at the extensions loading order), I would expect files to be loaded in following order:
development.yml development-instance.json development-instance.yml
The text was updated successfully, but these errors were encountered:
You're right that the expected and documented behavior is to load in this order
It would be a bug if it loaded development-instance.json before development.yml.
Would you or a community member be willing to validate this bug by writing a failing test?
Sorry, something went wrong.
Fix node-configGH-746 - Loading config files order with APP_INSTANCE
d42baeb
Submitted a PR with both the test and the fix here
No branches or pull requests
Describe the bug
I having config files with different extensions, and some defined using an APP_INSTANCE, the loading order is not the expected one.
Let's say I have following files:
They are currently loaded as:
Expected behavior
From the documentation (and checking at the extensions loading order), I would expect files to be loaded in following order:
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: