Skip to main content

@graphql-mesh/merger-bare

Functions#

default#

Constdefault(options: { cache: KeyValueCache<any\> ; executor?: Executor<Record<string, any\>\> ; pubsub: MeshPubSub ; rawSources: RawSourceOutput[] ; resolvers?: IResolvers<any, any, Record<string, any\>, any\> ; transforms?: Transform<Record<string, any\>\>[] ; typeDefs?: DocumentNode[] }): GraphQLSchema | Promise<GraphQLSchema\>

Parameters:#

NameType
optionsobject
options.cacheKeyValueCache<any\>
options.executor?Executor<Record<string, any\>\>
options.pubsubMeshPubSub
options.rawSourcesRawSourceOutput[]
options.resolvers?IResolvers<any, any, Record<string, any\>, any\>
options.transforms?Transform<Record<string, any\>\>[]
options.typeDefs?DocumentNode[]

Returns: GraphQLSchema | Promise<GraphQLSchema\>

Defined in: packages/mergers/bare/src/index.ts:6