GraphiQL API Documentation
    Preparing search index...

    Utilities useful for language services across runtimes

    • Provided previous "queryFacts", a GraphQL schema, and a query document string, return a set of facts about that query useful for GraphiQL features.

      If the query cannot be parsed, returns undefined.

      Parameters

      • Optionalschema: GraphQLSchema | null

        {GraphQLSchema} (optional)

      • OptionaldocumentString: string | null

        {string} the document you want to parse for operations (optional)

      Returns OperationFacts | undefined