Skip to content

@Valid on method parameter does not apply validation in 1.1.2 #624

Closed
@koenpunt

Description

@koenpunt

To raise a bit more awareness of a comment I placed on a specific commit.

4c3e75a#commitcomment-102568551

In 1.1.2 parameter validation was changed to somehow also support the @Validated annotation on individual arguments. This, however, did break validation with the @Valid annotation for us.

To elaborate a bit on our scenario; we use spring-graphql with kotlin and coroutines, and have input objects with nested @Valid annotations.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions