UNPKG

@graphql-mesh/transform-resolvers-composition

Version:
12 lines (11 loc) 566 B
import type { GraphQLSchema } from 'graphql'; import type { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types'; export default class ResolversCompositionTransform implements MeshTransform { noWrap: boolean; private compositions; private baseDir; private importFn; constructor({ baseDir, config, importFn, }: MeshTransformOptions<YamlConfig.Transform['resolversComposition']>); transformSchema(schema: GraphQLSchema): GraphQLSchema; } export type { ResolversComposition } from '@graphql-tools/resolvers-composition';