Interface TypedGraphQLOutputResolver
- All Superinterfaces:
GraphQLOutputResolver
,GraphQLResolver
,TypedGraphQLResolver
- All Known Implementing Classes:
OptionalDoubleResolver
,OptionalIntResolver
,OptionalLongResolver
,OptionalResolver
,SpecificScalarResolver
public interface TypedGraphQLOutputResolver extends GraphQLOutputResolver, TypedGraphQLResolver
Extension to
GraphQLOutputResolver
that acts only on a certain type.-
Method Summary
Modifier and Type Method Description default boolean
supportsOutput(se.l4.commons.types.reflect.TypeRef type)
Perform a check if this output resolver might support the given type.Methods inherited from interface se.l4.graphql.binding.resolver.output.GraphQLOutputResolver
resolveOutput
-
Method Details
-
supportsOutput
default boolean supportsOutput(se.l4.commons.types.reflect.TypeRef type)Description copied from interface:GraphQLOutputResolver
Perform a check if this output 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 inGraphQLOutputResolver.resolveOutput(GraphQLOutputEncounter)
.- Specified by:
supportsOutput
in interfaceGraphQLOutputResolver
- Returns:
-