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

Feat: Support .env files in nested project directories #6671

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

grahamplata
Copy link
Contributor

@grahamplata grahamplata commented Feb 12, 2025

This PR updates the Project parser to handle multiple .env files. Nested .env files will be parsed and merged with variables loaded from other .env files.

Issue: #6490

Tested with devtool

  • Start local and cloud
  • Create .env in project root
  • Deploy and Validate
  • Create .env in another project dir models/
  • Deploy and validate

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@grahamplata grahamplata self-assigned this Feb 12, 2025
@grahamplata grahamplata marked this pull request as ready for review February 12, 2025 21:37
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.

2 participants