Docs
API
Classes
FederationMerger

Class: FederationMerger

mergers/federation/src.FederationMerger

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new FederationMerger(options)

Parameters

NameType
optionsMeshMergerOptions

Properties

name

name: string = 'federation'

Implementation of

MeshMerger.name

Defined in

packages/mergers/federation/src/index.ts:20

Methods

getUnifiedSchema

getUnifiedSchema(__namedParameters): Promise<{ executor: <TReturn>(__namedParameters: ExecutionRequest<Record<string, any>, any, any, Record<string, any>>) => ExecutionResult<TReturn, ObjMap<unknown>> ; schema: GraphQLSchema = remoteSchema }>

Parameters

NameType
__namedParametersMeshMergerContext

Returns

Promise<{ executor: <TReturn>(__namedParameters: ExecutionRequest<Record<string, any>, any, any, Record<string, any>>) => ExecutionResult<TReturn, ObjMap<unknown>> ; schema: GraphQLSchema = remoteSchema }>

Implementation of

MeshMerger.getUnifiedSchema