How to add Validation support ? #379
Unanswered
ferrisyang
asked this question in
Q&A
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I made a sample repo, where validations are applied as directives directly in the schema: https://github.com/WtfJoke/graphql-dgs-directives-demo using https://github.com/graphql-java/graphql-java-extended-validation. Because initially I didnt found a way how to marry/register them in Dgs so I wanted to share my sample repo, which does exactly that :) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I try to add validation framework support with springboot-validation. Found that scalar parameter work fine, but java object validation not, because I use codegen plugin, and it will re-generate java type object when start project.
How to add validation support ?
Beta Was this translation helpful? Give feedback.
All reactions