Class FieldResolverFactory
java.lang.Object
in.co.akshitbansal.springwebquery.resolver.field.FieldResolverFactory
Factory for creating field resolvers used by validation visitors and
pageable/specification resolver flows.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a factory that always builds uncached field resolvers. -
Method Summary
Modifier and TypeMethodDescriptionnewFieldResolver(@NonNull AbstractArgumentResolverConfig config) Creates the field resolver that matches the supplied effective query configuration.
-
Constructor Details
-
FieldResolverFactory
public FieldResolverFactory()Creates a factory that always builds uncached field resolvers.
-
-
Method Details
-
newFieldResolver
Creates the field resolver that matches the supplied effective query configuration.- Parameters:
config- effective argument-resolver configuration- Returns:
- entity-aware resolver, uncached DTO-aware resolver, or cached DTO-aware resolver depending on the active configuration
-