GraphQLModelFields
Interface: GraphQLModelFields
Defined in: graphql/src/graphql.service.ts:109
The fields the schema gives to the CRUD of a model, as generateSchema() named them
Properties
create?
optionalcreate?:string
Defined in: graphql/src/graphql.service.ts:119
Mutation creating an object, absent when the model defines its own create action
delete?
optionaldelete?:string
Defined in: graphql/src/graphql.service.ts:123
Mutation deleting an object, absent when the model defines its own delete action
get
get:
string
Defined in: graphql/src/graphql.service.ts:113
Query field reading one object
key
key:
string
Defined in: graphql/src/graphql.service.ts:115
Argument of get holding the primary key
query
query:
string
Defined in: graphql/src/graphql.service.ts:117
Query field querying the objects
type
type:
string
Defined in: graphql/src/graphql.service.ts:111
GraphQL type of the model (its input type is <type>Input)
update?
optionalupdate?:string
Defined in: graphql/src/graphql.service.ts:121
Mutation updating an object (merge), absent when the model defines its own update action