graphql_codegen library Null safety
Classes
-
GenerateResult<
TKey extends Object> - Result of code generation.
-
SchemaConfig<
TKey> - A schema config containing entries and lookup.
Functions
-
generate<
TKey extends Object> (SchemaConfig< TKey> schemaConfig, GraphQLCodegenConfig config) → FutureOr<GenerateResult< TKey> > - 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