Package org.springframework.graphql.data.method.annotation.support
@NonNullApi
@NonNullFields
package org.springframework.graphql.data.method.annotation.support
Resolvers for method parameters of annotated handler methods.
-
ClassDescription
RuntimeWiringConfigurer
that finds@SchemaMapping
and@BatchMapping
methods in@Controller
classes, and registers them asDataFetcher
s.Convenient base for classes that find annotated controller method with argument values resolved from aDataFetchingEnvironment
.Resolver for a method parameter that is annotated with@Argument
.Resolver for a method parameter that is annotated with@Arguments
, similar to whatArgumentMethodArgumentResolver
does but using the full fullGraphQL arguments
map as the source for binding to the target Object rather than a specific argument value within it.Resolver to obtainAuthentication.getPrincipal()
from Spring Security context viaSecurityContext.getAuthentication()
for parameters annotated withAuthenticationPrincipal
.An extension ofHandlerMethod
for annotated handler methods adapted toBatchLoaderWithContext
orMappedBatchLoaderWithContext
with the list of keys andBatchLoaderEnvironment
as their input.Resolver for a@ContextValue
annotated method parameter.No-op resolver for method arguments of typeContinuation
.Invocable handler to use as aDataFetcher
.Extension ofInvocableHandlerMethodSupport
for handler methods that resolve argument values from aDataFetchingEnvironment
.Mapping information for a controller method to be registered as aDataFetcher
.Resolver forDataFetchingEnvironment
and related values that can be accessed through theDataFetchingEnvironment
.Resolver for aDataLoader
obtained viaDataFetchingEnvironment.getDataLoader(String)
.Extension ofDataFetcherExceptionResolver
with overloaded method to apply at the point of DataFetcher invocation to allow local exception handling.Resolver for a@LocalContextValue
annotated method parameter.Resolver to obtainPrincipal
from Spring Security context viaSecurityContext.getAuthentication()
.Resolver for a method parameter that is an interface annotated with@ProjectedPayload
.Resolver for method arguments of typeSort
.Resolver for the source/parent of a field, obtained viaDataFetchingEnvironment.getSource()
.Resolver for a method argument of typeSubrange
initialized from "first", "last", "before", and "after" GraphQL arguments.