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

Extend environment support for "soft aliases" #111

Open
joelgallant opened this issue Feb 13, 2021 · 3 comments
Open

Extend environment support for "soft aliases" #111

joelgallant opened this issue Feb 13, 2021 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@joelgallant
Copy link
Contributor

Meaning specific environments that are very similar to another, with only a few values different

  • Explore option to $extends w/ a different environment than current one
  • Explore "combined" environment (ie. test.dev), which merges two environments, allowing for holes in them individually
@joelgallant joelgallant added the enhancement New feature or request label Feb 13, 2021
@joelgallant joelgallant added this to the Version 3 milestone Feb 13, 2021
@joelgallant
Copy link
Contributor Author

Going to say this should be done with #131

@joelgallant
Copy link
Contributor Author

I think there's still value in a qa+staging or qa|staging syntax in $env. Reopening.

Partially, I think we should reserve this syntax by adding a deprecation warning for environment names with special characters (+, |, & should suffice).

@joelgallant
Copy link
Contributor Author

joelgallant commented Jun 20, 2021

Note that it's possible to do this (now) with at the root level of the app-config file:

$env:
  default: {}
  qa:
    $extendsSelf:
      env: staging
      select: .

    # any qa overrides go here

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

No branches or pull requests

1 participant