Interface ObjectResolver<TSource, TContext>

interface ObjectResolver<TSource, TContext> {
    __isTypeOf?: GraphQLIsTypeOfFn<TSource, TContext>;
    [fieldName: string]: GraphQLIsTypeOfFn<TSource, TContext> | GraphQLFieldResolver<TSource, TContext> | undefined;
}

Type Parameters

  • TSource = unknown
  • TContext = unknown

Indexable

Properties

Properties

__isTypeOf?: GraphQLIsTypeOfFn<TSource, TContext>