You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, when using @Valid annotation, there is no way to specify which groups must be validated. Inspired by the Springs @Validated annotation, my suggestion is to add an optional attribute to @Valid annotation, "groups", where we can define which groups should be validated.
The text was updated successfully, but these errors were encountered:
It would then validate the account field using the Basic group? That also sounds useful, but as mentioned in in #268, it would also be great if we could specify the groups that must be active for @Valid to be applied at all.
This would only validate the account field when the user instance is validated with the MustValidateAccount group. For the first use case, I would prefer the name targetGroup instead of group.
At the moment, when using @Valid annotation, there is no way to specify which groups must be validated. Inspired by the Springs @Validated annotation, my suggestion is to add an optional attribute to @Valid annotation, "groups", where we can define which groups should be validated.
The text was updated successfully, but these errors were encountered: