Package org.springframework.graphql.data.method.annotation
@NonNullApi
@NonNullFields
package org.springframework.graphql.data.method.annotation
Annotations for binding data fetching methods to GraphQL schema queries,
mutations, subscriptions, and fields.
-
ClassDescriptionAnnotation to bind a named GraphQL
argument
onto a method parameter.Annotation for a handler method that batch loads field values, given a list of source/parent values.Annotation to bind a method parameter to an attribute from themain
GraphQLContext
.Declares a method as a handler of exceptions raised while fetching data for a field.Annotation to bind a method parameter to an attribute from thelocal
GraphQLContext
.@MutationMapping
is a composed annotation that acts as a shortcut for@SchemaMapping
withtypeName="Mutation"
.@QueryMapping
is a composed annotation that acts as a shortcut for@SchemaMapping
withtypeName="Query"
.Annotation to express the mapping of a handler method to a GraphQL type and field pair.@SubscriptionMapping
is a composed annotation that acts as a shortcut for@SchemaMapping
withtypeName="Subscription"
.