Edit page

Api Reference

@ObjectType

Registers a class as a GraphQL object type.

@Field

Registers a class field as a GraphQLField.

@InputObjectType

@InputField

@InputFieldNullable

@DuplexObjectType

Just a shorthand-it is the same as putting both @InputObjectType and @ObjectType

@DuplexField

Just a shorthand-it is the same as putting both @InputField and @Field

@Arg

@ArgNullable

@Inject

@Context

No decorator options avaliable

@Source

No decorator options avaliable

@Info

No decorator options avaliable

@Before

@After

@SchemaRoot

@Query

Has same interface as @Field decorator. Can be used only inside @SchemaRoot class

@Mutation

Has same interface as @Field decorator. Can be used only inside @SchemaRoot class

@QueryAndMutation

A shorthand for both Query And Mutation. Can be used only inside @SchemaRoot class

@Union

registerEnum

compileSchema

compileObjectType,

compileInputObjectType,