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

Method EnvironmentSpecificConfiguration::getPropertiesWithPrefix does not consider the properties defined in 'all' environment #2730

Open
DavidRomaoCTW opened this issue Feb 24, 2022 · 0 comments

Comments

@DavidRomaoCTW
Copy link

Hello all,
If I understood the documentation correctly, when configuring environments it is possible to specify properties which apply to all the environments in a special 'all' environment, however I noticed that when calling the method Method EnvironmentSpecificConfiguration::getPropertiesWithPrefix only properties from explicitly enabled environments are being included.

configuration example where I think the properties ending with one and two should be returned when calling getPropertiesWithPrefix("prefix"):

environments {
  all {
    prefix {
      one = 1
      two = 2
    }
  }
  
  test {
  
  }
}
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