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

Support NestedConfigurationProperty for record types #41251

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

acouvreur
Copy link

@acouvreur acouvreur commented Jun 26, 2024

Add ElementType.RECORD_COMPONENT to NestedConfigurationProperty and implement isMarkedAsNested for RecordParameterPropertyDescriptor.

This will allow nested record to be properly harvested for their properties.

I've added a test case which fails to retrieve nested record groups property using the @NestedConfigurationProperty annotation.

This change adds the support for nested record to be properly extracted into groups when using @NestedConfigurationProperty.

@pivotal-cla
Copy link

@acouvreur Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 26, 2024
@pivotal-cla
Copy link

@acouvreur Thank you for signing the Contributor License Agreement!

Add `ElementType.RECORD_COMPONENT` to `NestedConfigurationProperty` and implement `isMarkedAsNested` for `RecordParameterPropertyDescriptor`.

This will allow nested record to be properly harvested for their properties.
@acouvreur acouvreur force-pushed the support-nested-configuration-properties-for-records branch from e912598 to 2315a72 Compare June 27, 2024 13:38
@acouvreur
Copy link
Author

Fixed formatting

@philwebb philwebb added the for: team-meeting An issue we'd like to discuss as a team to make progress label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: team-meeting An issue we'd like to discuss as a team to make progress status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants