stephenhandley
09/01/2017, 6:25 PMTRANSFORM_ARGUMENT
function which would get invoked after initial schema validation.
https://www.graph.cool/docs/reference/functions/request-pipeline/transform-input-arguments-caich7oeph/
For another project backed by a thin model layer in front of MongoDB using Apollo Server, I've been doing some validation using custom scalars as described here:
http://dev.apollodata.com/tools/graphql-tools/scalars.html
I've also come across this proposal for input type validation extension to GraphQL spec
https://github.com/graphql/graphql-js/issues/361
Wondering what people's thoughts are on the different alternatives..nilan
09/01/2017, 6:27 PMstephenhandley
09/01/2017, 6:31 PMValidation Best Practices
.. pending approvalnilan
09/01/2017, 6:33 PMhvillain
09/02/2017, 12:21 PM