Replies: 1 comment
-
For me it worked when I annotated my Controller with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use
@Valid
or@Validated
annotations in mutations? For example:A bit of context:
I understand that DGS supports graphql-java-extended-validation.
Still, my team will be migrating existing REST APIs to GraphQL, and everything is being validated using bean validation (via Hibernate validator). I'm trying to assess the complexity of the migration, and not having to switch to something like
graphql-java-extended-validation
from the get-go would probably help a lot.Edit:
Based on existing discussions, it seems that used to work at some level (unless these people were getting false positives):
Beta Was this translation helpful? Give feedback.
All reactions