Skip to content

Skip excluded fields in builder-generated toString - #3876

Open
Rawi01 wants to merge 1 commit into
projectlombok:masterfrom
Rawi01:builder-tostring-exclude
Open

Skip excluded fields in builder-generated toString#3876
Rawi01 wants to merge 1 commit into
projectlombok:masterfrom
Rawi01:builder-tostring-exclude

Conversation

@Rawi01

@Rawi01 Rawi01 commented Apr 28, 2025

Copy link
Copy Markdown
Collaborator

This PR fixes #2891

@Builder now detect @ToString.Exclude annotations and does not add these fields to the generated toString method.

@Rawi01
Rawi01 force-pushed the builder-tostring-exclude branch from 314c2bc to 22a195b Compare August 27, 2025 20:51
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.

[FEATURE] apply @ToString.Exclude to @Builder toString

1 participant