Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
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