-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
Allow AbstractEnvironment to bypass active/default properties #26461
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Comments
I pushed a suggested implementation here |
philwebb
added a commit
to philwebb/spring-framework
that referenced
this issue
Jan 28, 2021
Introduce protected methods that can be used to bypass or change the way that active and default property values are read. Closes spring-projectsgh-26461
snicoll
pushed a commit
that referenced
this issue
Feb 15, 2021
Introduce protected methods that can be used to bypass or change the way that active and default property values are read. See gh-26461
snicoll
added a commit
that referenced
this issue
Feb 15, 2021
This was referenced Mar 7, 2021
Merged
This was referenced Mar 15, 2021
Open
lxbzmy
pushed a commit
to lxbzmy/spring-framework
that referenced
this issue
Mar 26, 2022
Introduce protected methods that can be used to bypass or change the way that active and default property values are read. See spring-projectsgh-26461
lxbzmy
pushed a commit
to lxbzmy/spring-framework
that referenced
this issue
Mar 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
See spring-projects/spring-boot#24890 (comment) for more background.
Currently
AbstractEnvironment
hasdoGetActiveProfiles()
anddoGetDefaultProfiles()
methods that will callgetProperty()
if there aren't any set values. In Spring Boot we callsetActiveProfiles(..)
andsetDefaultProfiles(...)
directly and we don't want property based resolution (even if the values set are an empty array).We'd like a way to disable property based resolution.
The text was updated successfully, but these errors were encountered: