Skip to content

Java record components should dictate written fields#142

Open
dblevins wants to merge 1 commit into
apache:masterfrom
dblevins:record-components
Open

Java record components should dictate written fields#142
dblevins wants to merge 1 commit into
apache:masterfrom
dblevins:record-components

Conversation

@dblevins

Copy link
Copy Markdown
Contributor

Given a record like this, only the name and age fields should be written.

public record Person(String name, int age) {
    public Builder toBuilder() { return ...; }
    public static Builder builder() { return ...; }
}

https://issues.apache.org/jira/browse/JOHNZON-432

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.

1 participant