Skip to content

Allows validation by groups on @Valid #276

@jycr

Description

@jycr

Like Spring Framework's @Validated annotation but in standard in Jakarta Validation Spec.

We currently cannot define validation groups on the @Validated annotation.

This should be possible, as with all other constraints annotations.

@Valid(groups = {CreationGroup.class, ModificationGroup.class})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions