Skip to content
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

.env.* support and possible to check require field after all config loading #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JohnJ255
Copy link

@JohnJ255 JohnJ255 commented Apr 9, 2024

  1. support files like .env.local, .env.dev etc...
    But I don't recommend use it if it possible. The better solution is config.yml for base configs and .env in .gitignore for environment changes
  2. you can disable check required fields during loading part of config and enable it again on read last file. See example

sorry for no tests, i hope somebody help me with that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant