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 detects@SchemaMappingannotated handler methods in@Controllerclasses and registers them asDataFetchers.Resolves aMapmethod parameter for access to the raw arguments map.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 theDataFetchingEnvironmentsuch as:GraphQLContextDataFetchingFieldSelectionSetLocaleorOptional<Locale>as well as arguments of typeResolver 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 the source/parent of a field, obtained viaDataFetchingEnvironment.getSource().