Methods
decorateEnum
-
Type parameters
Parameters
Returns void
description
- description(text: string): PropertyDecorator
-
Parameters
Returns PropertyDecorator
field
-
Parameters
Returns PropertyDecorator
input
-
Parameters
Returns ClassDecorator
interface
-
Type parameters
-
R: GraphQLTypeResolver<any, any>
Parameters
Returns ClassDecorator
list
- list(type: OutputType, args?: undefined | object): PropertyDecorator
-
Parameters
-
-
Optional args: undefined | object
Returns PropertyDecorator
mutation
-
Parameters
Returns MethodDecorator
nonNull
- nonNull(): PropertyDecorator
-
Returns PropertyDecorator
nonNullItems
- nonNullItems(): PropertyDecorator
-
Returns PropertyDecorator
query
-
Parameters
Returns MethodDecorator
resolve
- resolve<R>(resolver: R): PropertyDecorator
-
Type parameters
-
R: GraphQLFieldResolver<any, any>
Parameters
Returns PropertyDecorator
scalar
-
Parameters
Returns ClassDecorator
subscription
-
Type parameters
-
R: GraphQLFieldResolver<any, any>
Parameters
Returns MethodDecorator
type
-
Type parameters
-
R: GraphQLIsTypeOfFn<any, any>
Parameters
Returns ClassDecorator
Build the final executable schema from all the collected metadata.