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.
-
ClassesClassDescription
RuntimeWiringConfigurerthat finds@SchemaMappingannotated handler methods in@Controllerclasses declared in Spring configuration, and registers them asDataFetchers.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.An extension ofHandlerMethodfor annotated handler methods adapted toDataFetcherwithDataFetchingEnvironmentas their input.Resolver forDataFetchingEnvironmentand related values that can be accessed through theDataFetchingEnvironment.Resolver for aDataLoaderobtained viaDataFetchingEnvironment.getDataLoader(String).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.