You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to achieve the constraint directive with the code below. However, I also want to sanitize my input values. How can I change the obj value that goes to the resolver inside the directive? For example, how can I change the input that comes into lowercase?
Hi, Is it currently possible to use constraints for validation, or does it require a plugin? This would be a nice feature to have. e.g
https://blog.apollographql.com/graphql-validation-using-directives-4908fd5c1055
The text was updated successfully, but these errors were encountered: