Skip to content

improve isValid evaluation#17

Open
hduelme wants to merge 1 commit intomapstruct:mainfrom
hduelme:improve-is-valid-evaluation
Open

improve isValid evaluation#17
hduelme wants to merge 1 commit intomapstruct:mainfrom
hduelme:improve-is-valid-evaluation

Conversation

@hduelme
Copy link

@hduelme hduelme commented Feb 13, 2026

I improved the evaluation for isValid. If there are values to evaluate, I replace the ternary operator ? with just logic and &&. In addition if the value is just true, I inline it into isValid( ) directly (see BuilderGem).

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