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.
-
Annotation InterfacesClassDescriptionAnnotation to bind a named GraphQL
argumentonto 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 themainGraphQLContext.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 thelocalGraphQLContext.@MutationMappingis a composed annotation that acts as a shortcut for@SchemaMappingwithtypeName="Mutation".@QueryMappingis a composed annotation that acts as a shortcut for@SchemaMappingwithtypeName="Query".Annotation to express the mapping of a handler method to a GraphQL type and field pair.@SubscriptionMappingis a composed annotation that acts as a shortcut for@SchemaMappingwithtypeName="Subscription".