import { PothosSubGraphPlugin } from "https://deno.land/x/pothos@release-1699481559/packages/plugin-sub-graph/index.ts";
Type Parameters
Types extends SchemaTypes
Methods
afterBuild(schema: GraphQLSchema)
onInputFieldConfig(fieldConfig: PothosInputFieldConfig<Types>)
onOutputFieldConfig(fieldConfig: PothosOutputFieldConfig<Types>)
onTypeConfig(typeConfig: PothosTypeConfig)
Static Methods
createSubGraph(schema: GraphQLSchema, subGraph: string[] | string)
filterFields()
type: GraphQLInterfaceType | GraphQLObjectType,
newTypes: Map<string, GraphQLNamedType>,
subGraphs: string[],
filterTypes(types: readonly GraphQLNamedType[], subGraphs: string[])