UNPKG

@kamilkisiela/graphql-tools

Version:

Useful tools to create and manipulate GraphQL schemas.

7 lines (6 loc) 610 B
import { GraphQLSchema } from 'graphql'; import { IExecutableSchemaDefinition, ILogger } from './Interfaces'; export declare function makeExecutableSchema<TContext = any>({ typeDefs, resolvers, connectors, logger, allowUndefinedInResolve, resolverValidationOptions, directiveResolvers, schemaDirectives, parseOptions, inheritResolversFromInterfaces }: IExecutableSchemaDefinition<TContext>): GraphQLSchema; export declare function addCatchUndefinedToSchema(schema: GraphQLSchema): void; export declare function addErrorLoggingToSchema(schema: GraphQLSchema, logger: ILogger): void; export * from './generate';