graphql_codegen library

Classes

GraphQLCodegenConfig
GraphQLCodegenConfigEnum
GraphQLCodegenConfigScalar
SchemaConfig<TKey>
A schema config containing entries and lookup.

Functions

generate<TKey extends Object>(TKey key, SchemaConfig<TKey> schemaConfig, GraphQLCodegenConfig config) → Library
This is where the magic happens! It generates programs from GraphQL documents.

Exceptions / Errors

InvalidGraphQLDocumentError
An error that occurs during parsing of the GraphQL Document. This may happen if type definitions or fields are missing.
PrinterError
An error that occurs during printing