UNPKG

@kamilkisiela/graphql-tools

Version:

Useful tools to create and manipulate GraphQL schemas.

6 lines (5 loc) 250 B
import { GraphQLSchema } from 'graphql'; import { Transform } from '../transforms/transforms'; export default function transformSchema(targetSchema: GraphQLSchema, transforms: Array<Transform>): GraphQLSchema & { transforms: Array<Transform>; };