@graphql-mesh/transform-type-merging
Version:
10 lines (9 loc) • 509 B
TypeScript
import type { GraphQLSchema } from 'graphql';
import type { ImportFn, MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types';
import type { SubschemaConfig } from '@graphql-tools/delegate';
export default class TypeMerging implements MeshTransform {
private config;
importFn: ImportFn;
constructor({ config, importFn }: MeshTransformOptions<YamlConfig.Transform['typeMerging']>);
transformSchema(schema: GraphQLSchema, subschemaConfig: SubschemaConfig): GraphQLSchema;
}