Interface SchemaMappingInspector.ClassResolver

Enclosing class:
SchemaMappingInspector

public static interface SchemaMappingInspector.ClassResolver
Strategy to resolve the Java class(es) for a GraphQLObjectType, effectively the reverse of TypeResolver, for schema inspection purposes.
  • Method Details

    • resolveClass

      List<Class<?>> resolveClass(GraphQLObjectType objectType, GraphQLNamedOutputType interfaceOrUnionType)
      Return Java class(es) for the given GraphQL object type.
      Parameters:
      objectType - the GraphQLObjectType to resolve
      interfaceOrUnionType - either an interface the object implements, or a union the object is a member of