Skip to content

Conversation

@onraz
Copy link
Contributor

@onraz onraz commented Nov 4, 2018

Addresses gh-10347 by ensuring a nested condition doesn't use a PARSE_CONFIGURATION phase when any member conditions have a REGISTER_BEAN phase. This contract is enforced in AbstractNestedCondition, such that all subclasses (e.g. AllNestedCondition) also enforce it. The change is applied as the conditions are loaded with single pass, to minimize performance overhead.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 4, 2018
@philwebb philwebb added type: enhancement A general enhancement status: first-timers-only An issue that can only be worked on by brand new contributors and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 5, 2018
@philwebb philwebb added this to the 2.2.x milestone Nov 5, 2018
@snicoll snicoll removed the status: first-timers-only An issue that can only be worked on by brand new contributors label Nov 15, 2018
@snicoll snicoll self-assigned this Dec 3, 2018
@snicoll snicoll modified the milestones: 2.2.x, 2.2.0.M1 Dec 3, 2018
@snicoll snicoll closed this in bbad720 Dec 3, 2018
snicoll added a commit that referenced this pull request Dec 3, 2018
* pr/15086:
  Polish contribution
  Fail fast if nested condition uses a phase inappropriate for its members
@snicoll
Copy link
Member

snicoll commented Dec 3, 2018

@onraz thank you very much for making your first contribution to Spring Boot. This is now merged with a polish commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants