Version: 0.14.x
SchemaCRUD Plugin
The SchemaCRUDPlugin
plugin creates your GraphQL schema with all input types, Query, Mutation and Subscription fields following recommended patterns from GraphQL CRUD.
The plugin also creates your CRUD resolvers to use with your GraphQL schema.
#
Installation#
UsageTo use the plugin, add it to the plugins
array in buildGraphbackAPI
.
info
Unless you need the schema to be output to a file you don't need to install or configure it as Graphback will automatically execute it as the default plugin.
#
ConfigurationBelow is a full list of the available configuration options for this plugin.
Argument | Description | Type | Default |
---|---|---|---|
pluginConfig.outputPath | Optional relative path to the schema file. Example: "/path/to/schema/schema.graphql" | string | undefined |