[GraphQL] Create graphql analysis tool
Proposal
Our GraphQL endpoint can execute queries, but just as valuable would be an endpoint or rake task that can analyze
them
This would:
- verify that the query is syntactically correct and matches our schema
- return the computed complexity, and indicate if it is too complex
- provide any other static checks we care to implement (for example detecting bad arguments, missing arguments when disjoint, etc)
This can be used to improve test coverage by linting all *.graphql
files during our pipelines.