Skip to content

Conversation

@Randgalt
Copy link
Owner

@Randgalt Randgalt commented Oct 19, 2025

If a record component is, itself, annotated with @RecordBuilder or a template, adds a setter that takes a Consumer which accepts a builder for that component so that you can easily build/with nested records that have a builder.

See TestNestedBuilders.java for an example.

@Randgalt Randgalt added this to the v50 milestone Oct 19, 2025
@Randgalt Randgalt force-pushed the jordanz/nested-builders branch 2 times, most recently from ca612e0 to e8504ea Compare October 22, 2025 06:09
If a record component is, itself, annotated with `@RecordBuilder` or
a template, adds a setter that takes a `Consumer` which accepts
a builder for that component so that you can easily build/with
nested records that have a builder.
@Randgalt Randgalt force-pushed the jordanz/nested-builders branch from e8504ea to 48b4997 Compare October 22, 2025 06:09
@Randgalt Randgalt changed the title Add support detected RecordBuilder components Add support for detected RecordBuilder components Oct 22, 2025
@Randgalt Randgalt modified the milestones: v50, v51, v52 Nov 4, 2025
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

Successfully merging this pull request may close these issues.

2 participants