Hello. What method or library are you using to ch...
# orm-help
y
Hello. What method or library are you using to check validation of input values of query and mutation ?🤔
k
Zod is a nice choice especially if when using typescript
👍 1
Yup is also a great choice
👍 1
Either of them paired with TRPC are really awesome.
n
👋 @YeonHoPark Yes, Yup could be an ideal choice, One way that could be done is by creating yup schemas for your inputs and in your resolvers, running 
schema.validate()
 . This will automatically throw the error which will be sent in the GraphQL response.
Here is a link to Yup Documentation for your reference.
y
thank you for answer !!