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

Shared PolicySettings from appsettings.json #81

Open
rndthoughts opened this issue Mar 4, 2022 · 0 comments
Open

Shared PolicySettings from appsettings.json #81

rndthoughts opened this issue Mar 4, 2022 · 0 comments

Comments

@rndthoughts
Copy link

Is is possible to have a set of PolicySettings values that are common across all Environments. If the same setting is declare in a given environment section, it is overridden?

eg:

{
  "Defaults" : [{
       "PolicySettings" : {
           "Setting1" : "Foo",
           "Setting2" : "Bar",
           ... etc
       }
  ]},
  "Environments" : [{
      "Name" : "Test",
      "PolicySettings" : {
            "Setting1" : "Alpha",
            "Setting3" : "Beta",
            .... etc
      }
  }]
}

So "Setting1" and "Setting2" have a default of "Foo" and "Bar" respectively.

For the environment "Test",

  • "Setting1" is "Alpha",
  • "Setting2" is "Bar"
  • "Setting3" is "Beta"
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

No branches or pull requests

1 participant