Documentation
API Reference
Packages
executors-envelop

@graphql-tools/executor-envelop

Interfaces

Type Aliases

Functions

Type Aliases

ExecutorPluginOpts

Ƭ ExecutorPluginOpts: Parameters<typeof schemaFromExecutor>[2] & { polling?: number }

Defined in

packages/executors/envelop/src/index.ts:14

Functions

useExecutor

useExecutor(executor, opts?): Plugin & { invalidateSupergraph: () => void ; pluginCtx: ExecutorPluginContext ; ensureSchema: (ctx?: any) => void }

Parameters

NameType
executorExecutor
opts?Partial<IntrospectionOptions> & GraphQLSchemaValidationOptions & ParseOptions & { polling?: number }

Returns

Plugin & { invalidateSupergraph: () => void ; pluginCtx: ExecutorPluginContext ; ensureSchema: (ctx?: any) => void }

Defined in

packages/executors/envelop/src/index.ts:18