Module

x/pothos/packages/plugin-sub-graph/mod.ts>PothosSubGraphPlugin

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class PothosSubGraphPlugin
extends BasePlugin<Types>
import { PothosSubGraphPlugin } from "https://dotland.deno.dev/x/pothos@release-1689883337/packages/plugin-sub-graph/mod.ts";

Static Methods

createSubGraph(schema: GraphQLSchema, subGraph: string[] | string)
filterFields(
newTypes: Map<string, GraphQLNamedType>,
subGraphs: string[],
)
filterTypes(types: readonly GraphQLNamedType[], subGraphs: string[])
mapInputFields(
newTypes: Map<string, GraphQLNamedType>,
subGraphs: string[],
)