r[ae]ym
CRUDSchemaObject

@crudType

Use the @crudType directive to enable CRUD operations on an object type. Every object type that should be accessible via the CRUD API must have this directive.‚

Example

user.graphql
type User @crudType {
    name: String!
}

On this object type User the CRUD API will be enabled.

On this page