GraphQLModelFields
Interface: GraphQLModelFields
Defined in: graphql/src/graphql.service.ts:94
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:104
Mutation creating an object, absent when the model defines its own create action
delete?
optionaldelete?:string
Defined in: graphql/src/graphql.service.ts:108
Mutation deleting an object, absent when the model defines its own delete action
get
get:
string
Defined in: graphql/src/graphql.service.ts:98
Query field reading one object
key
key:
string
Defined in: graphql/src/graphql.service.ts:100
Argument of get holding the primary key
query
query:
string
Defined in: graphql/src/graphql.service.ts:102
Query field querying the objects
type
type:
string
Defined in: graphql/src/graphql.service.ts:96
GraphQL type of the model (its input type is <type>Input)
update?
optionalupdate?:string
Defined in: graphql/src/graphql.service.ts:106
Mutation updating an object (merge), absent when the model defines its own update action