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
RuntimeWiringConfigurerthat finds@SchemaMappingand@BatchMappingmethods in@Controllerclasses, and registers them asDataFetchers.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 whatArgumentMethodArgumentResolverdoes but using the full fullGraphQL argumentsmap 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 ofHandlerMethodfor annotated handler methods adapted toBatchLoaderWithContextorMappedBatchLoaderWithContextwith the list of keys andBatchLoaderEnvironmentas their input.Resolver for a@ContextValueannotated method parameter.No-op resolver for method arguments of typeContinuation.Invocable handler to use as aDataFetcher.Extension ofInvocableHandlerMethodSupportfor handler methods that resolve argument values from aDataFetchingEnvironment.Mapping information for a controller method to be registered as aDataFetcher.Resolver forDataFetchingEnvironmentand related values that can be accessed through theDataFetchingEnvironment.Resolver for aDataLoaderobtained viaDataFetchingEnvironment.getDataLoader(String).Extension ofDataFetcherExceptionResolverwith overloaded method to apply at the point of DataFetcher invocation to allow local exception handling.Resolver for a@LocalContextValueannotated method parameter.Resolver to obtainPrincipalfrom 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 typeSubrangeinitialized from "first", "last", "before", and "after" GraphQL arguments.