Interface TypedGraphQLInputResolver
- All Superinterfaces:
GraphQLInputResolver
,GraphQLResolver
,TypedGraphQLResolver
- All Known Implementing Classes:
OptionalDoubleResolver
,OptionalIntResolver
,OptionalLongResolver
,OptionalResolver
,SpecificScalarResolver
public interface TypedGraphQLInputResolver extends GraphQLInputResolver, TypedGraphQLResolver
Extension to
GraphQLInputResolver
that acts only on a certain type.-
Method Summary
Modifier and Type Method Description default boolean
supportsInput(se.l4.commons.types.reflect.TypeRef type)
Perform a check if this input resolver might support the given type.Methods inherited from interface se.l4.graphql.binding.resolver.input.GraphQLInputResolver
resolveInput
-
Method Details
-
supportsInput
default boolean supportsInput(se.l4.commons.types.reflect.TypeRef type)Description copied from interface:GraphQLInputResolver
Perform a check if this input resolver might support the given type. This method is expected to perform a minimal check, such as for theTypeRef.getErasedType()
and annotations on the type. More detailed checks should be done inGraphQLInputResolver.resolveInput(GraphQLInputEncounter)
.- Specified by:
supportsInput
in interfaceGraphQLInputResolver
- Returns:
-