GraphQLDocumentParser

Parses .graphql files into structured GraphQLOperationInfo and GraphQLFragmentInfo models.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Parses all fragment definitions from a single .graphql file.

Link copied to clipboard

Parses all operations from a single .graphql file. A file may contain multiple operations.