Skip to content

Move AnnotationValidationAdapter.Factory -> AnnotationValidatorFactory #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 3, 2023

Conversation

rbygrave
Copy link
Contributor

@rbygrave rbygrave commented May 2, 2023

No description provided.

rbygrave added 15 commits May 2, 2023 20:59
…orFactory -> AnnotationAdapterFactory

This moves the 2 factory methods to be closer to each other and hopefully that helps.  We have 2 factories that now both create ValidationAdapter
This would mean we need the code generation to for example translate jakarta.validation.constraints.Pattern.Flag into validation RegexFlag (but we expect it to be a 1 to 1 match)
@rbygrave
Copy link
Contributor Author

rbygrave commented May 2, 2023

Ok, I'm done with this PR now.

@rob-bygrave
Copy link
Contributor

If you are ok with this @SentryMan I'll merge this in. If there are changes we want to reverse we can do that too.

@SentryMan
Copy link
Collaborator

LGTM

@rob-bygrave rob-bygrave merged commit f8d0869 into main May 3, 2023
@rob-bygrave rob-bygrave deleted the feature/move-AnnotationValidatorFactory branch May 3, 2023 01:17
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.

3 participants