what's the best way to validate graphql queries fi...
# prisma-whats-new
a
what's the best way to validate graphql queries files using the schema that you get from
graphql-cli
? The graphql validate function seems to want it in this format: https://github.com/graphql/graphql-js/blob/master/src/validation/__tests__/harness.js#L329. Is there some type of parser or loader I can use? Or is there an easier way to validate a query? Thanks!
n
sounds super interesting, could you make a feature request here: https://github.com/graphql-cli/graphql-cli? a validate command might be cool