Skip to content

FR: include GraphQL schema validation (via graphql-core) #177

@mjpieters

Description

@mjpieters

The graphql-core library can validate GraphQL query strings against a known schema.

If githubkit included the most recent GQL schema, it could pre-validate queries and make sure that the right variables (including their types) are passed in when querying.

The library should also make it possible to apply optimisations to the passed in query (such as AST-based minification, resulting in less network bandwidth and more efficient queries. The AST also tells you if the input query supports pagination (and where in the response to find the cursor information, and what the cursor argument name is).

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions