public class PublicResolverBuilder extends AbstractResolverBuilder
argumentBuilder, filters, operationInfoGenerator, propertyElementReducerACCEPT_ALL, REAL_ONLY| Constructor and Description |
|---|
PublicResolverBuilder() |
PublicResolverBuilder(String... basePackages) |
getFieldType, getFilters, getReturnType, mergePropertyElements, withDefaultFilters, withFilters, withOperationInfoGenerator, withPropertyElementReducer, withResolverArgumentBuilderpublic PublicResolverBuilder()
public PublicResolverBuilder(String... basePackages)
public PublicResolverBuilder withBasePackages(String... basePackages)
public PublicResolverBuilder withJavaDeprecationRespected(boolean javaDeprecation)
Deprecated annotation should map to GraphQL deprecationjavaDeprecation - Whether the Deprecated maps to GraphQL deprecationpublic PublicResolverBuilder withJavaDeprecation(JavaDeprecationMappingConfig javaDeprecationConfig)
Deprecated annotation should map to GraphQL deprecationjavaDeprecationConfig - Configures if and how Deprecated maps to GraphQL deprecationpublic Collection<Resolver> buildQueryResolvers(ResolverBuilderParams params)
public Collection<Resolver> buildMutationResolvers(ResolverBuilderParams params)
public Collection<Resolver> buildSubscriptionResolvers(ResolverBuilderParams params)
protected boolean isQuery(Method method, ResolverBuilderParams params)
protected boolean isQuery(Field field, ResolverBuilderParams params)
protected boolean isQuery(Property property, ResolverBuilderParams params)
protected boolean isMutation(Method method, ResolverBuilderParams params)
protected boolean isSubscription(Method method, ResolverBuilderParams params)
protected boolean isPackageAcceptable(Member method, ResolverBuilderParams params)
Copyright © 2016–2019. All rights reserved.