Skip to content

Conversation

wudip
Copy link

@wudip wudip commented Dec 1, 2024

This PR changes the scan for validatiom constraint annotations. It scans the annotations recursively instead of simple scan of the processed class.

This allows the user to define a custom annotation (e.g. @FirstName or @AirportCode) which can be reused in the Java code instead of copy-pasting all annotations with constraints. It brings better readability, allows easier management of the constraints and reduces code duplication and potential for errors.

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