Interface GraphQLInputResolver

All Superinterfaces:
GraphQLResolver
All Known Subinterfaces:
TypedGraphQLInputResolver
All Known Implementing Classes:
EnumResolver, InputObjectTypeResolver, IterableResolver, OptionalDoubleResolver, OptionalIntResolver, OptionalLongResolver, OptionalResolver, ScalarResolver, SpecificScalarResolver

public interface GraphQLInputResolver
extends GraphQLResolver
Resolver responsible for creating a GraphQLInputType for a certain Java type.
  • Method Summary

    Modifier and Type Method Description
    ResolvedGraphQLType<? extends graphql.schema.GraphQLInputType> resolveInput​(GraphQLInputEncounter encounter)
    Resolve the GraphQLInputType of the given type.
    boolean supportsInput​(se.l4.commons.types.reflect.TypeRef type)
    Perform a check if this input resolver might support the given type.
  • Method Details

    • supportsInput

      boolean supportsInput​(se.l4.commons.types.reflect.TypeRef type)
      Perform a check if this input resolver might support the given type. This method is expected to perform a minimal check, such as for the TypeRef.getErasedType() and annotations on the type. More detailed checks should be done in resolveInput(GraphQLInputEncounter).
      Returns:
    • resolveInput

      ResolvedGraphQLType<? extends graphql.schema.GraphQLInputType> resolveInput​(GraphQLInputEncounter encounter)
      Resolve the GraphQLInputType of the given type.
      Parameters:
      encounter -
      Returns: