InterfacesGraphQLUnionTypeConfigOn this pageGraphQLUnionTypeConfig <TSource, TContext>Type parametersTSourceTContextIndex PropertiesastNodedescriptionextensionASTNodesextensionsinterfacesnameresolveTypetypesProperties optionalastNodeastNode?: Maybe<UnionTypeDefinitionNode>optionaldescriptiondescription?: Maybe<string>optionalextensionASTNodesextensionASTNodes?: Maybe<readonly UnionTypeExtensionNode[]>optionalextensionsextensions?: Maybe<Readonly<GraphQLUnionTypeExtensions>>optionalinterfacesinterfaces?: ThunkReadonlyArray<GraphQLInterfaceType>namename: stringoptionalresolveTyperesolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>Optionally provide a custom type resolver function. If one is not provided, the default implementation will call isTypeOf on each implementing Object type.typestypes: ThunkReadonlyArray<GraphQLObjectType<any, any>>
Optionally provide a custom type resolver function. If one is not provided, the default implementation will call
isTypeOf
on each implementing Object type.