Skip to content
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

feature: Support validation groups with @Validated #7265

Merged
merged 1 commit into from May 19, 2022

Conversation

kevin-wise
Copy link
Contributor

@kevin-wise kevin-wise commented Apr 26, 2022

Enable specifying the validation groups to be used with @Validated. For example, @Validated(groups = Group1.class). Should this be based on 3.5.x, since it's a new feature?

Also, this is my first time trying to update the documentation. Hopefully I got the syntax right.

@kevin-wise kevin-wise force-pushed the validation-groups branch 3 times, most recently from 3623dd8 to 6719795 Compare April 28, 2022 16:43
@kevin-wise kevin-wise marked this pull request as ready for review April 28, 2022 16:43
@kevin-wise kevin-wise marked this pull request as draft April 28, 2022 17:11
@graemerocher
Copy link
Contributor

Yes please target 3.5.x

@kevin-wise
Copy link
Contributor Author

kevin-wise commented Apr 28, 2022

Yes please target 3.5.x

ok. When will 3.4.x be merged into 3.5.x? This PR depends on the fix that was just merged to 3.4.x. As soon as that merges I'll rebase.

@kevin-wise kevin-wise marked this pull request as ready for review April 28, 2022 17:24
@graemerocher
Copy link
Contributor

I have merged up. Thanks.

@kevin-wise kevin-wise changed the base branch from 3.4.x to 3.5.x April 29, 2022 16:35
@kevin-wise
Copy link
Contributor Author

Rebased and base branch updated. Should be ready for review

@kevin-wise
Copy link
Contributor Author

@graemerocher could I get a review? Would like to get this into 3.5.x if possible

@graemerocher graemerocher added this to the 3.5.0 milestone May 10, 2022
@graemerocher graemerocher added the type: enhancement New feature or request label May 10, 2022
Copy link
Contributor

@graemerocher graemerocher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, was away at a conference. Looks good but for a couple of minor things.

@kevin-wise
Copy link
Contributor Author

kevin-wise commented May 10, 2022

updated as requested, and rebased. No problem on the delay, I understand. Just didn't know what to expect since I'm new to this project. I hope tagging you was ok.

@graemerocher
Copy link
Contributor

tagging me is good, sometimes I need reminders :)

@kevin-wise kevin-wise force-pushed the validation-groups branch 2 times, most recently from a48fa2f to 96354e5 Compare May 10, 2022 17:03
@kevin-wise
Copy link
Contributor Author

sorry for the additional force pushes. Just fixing the format on the javadoc to match convention. All done now, promise :)

@kevin-wise
Copy link
Contributor Author

@graemerocher does this need another review? Or can it get merged

Copy link
Collaborator

@sdelamo sdelamo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution

@sdelamo sdelamo merged commit 0c3de52 into micronaut-projects:3.5.x May 19, 2022
@kevin-wise kevin-wise deleted the validation-groups branch May 19, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants