CRUD/Schema/Object
@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
type User @crudType {
name: String!
}
On this object type User
the CRUD API will be enabled.