-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Support AND operator in yml profile matching #12469
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
Comments
In 2.0 we changed the way that YAML profiles are handled. We now delegate to I'll leave this one open since we should add some tests, but getting SPR-12458 fixed should be the priority. |
My current interpretation of the proposed fix for SPR-12458 is that it would not change the behavior of Environment.acceptsProfiles, but instead introduce a new annotation pattern to get the AND behavior. But perhaps I'm missing some context that didn't make it into the ticket. That is what led me to opening this issue and proposing a key like I'd be happy to submit a PR for that work, just waiting to hear from either ticket what the accepted solution should be. |
I missed the JIRA update from May 7. I've added a comment to the Spring issue |
Thanks, I also wouldn't oppose the |
Uh oh!
There was an error while loading. Please reload this page.
Similar to https://jira.spring.io/browse/SPR-12458, we would like ability for the yaml profile matching to follow AND semantics instead of OR.
To disambiguate from the current behavior and not create a behavior change, it may be helpful to introduce a new name. Something like:
The text was updated successfully, but these errors were encountered: