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(config): support arrays of env tables #1503

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

Ajpantuso
Copy link
Contributor

Summary

Closes #1449

These changes make it possible to configure env properties across multiple tables via the [[env]] syntax while continuing to support the preferred approach of using a single table.

To ensure consistent behavior duplicate keys cannot be specified across tables and will fail to parse with the exception of the mise or _ sub-properties.

Tests could definitely be improved, but I am waiting for feedback on style first.

@jdx jdx enabled auto-merge (squash) January 23, 2024 01:04
@jdx jdx merged commit 12d87c2 into jdx:main Jan 23, 2024
7 checks passed
@Ajpantuso Ajpantuso deleted the ajpantuso/multiple_env_tables branch January 23, 2024 01:14
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.

support [[env]]
2 participants