useEngine

This plugin can be used to customize the GraphQL Engine.

Weekly downloads
4.3M
Version
6.0.0
License
MIT
Updated
Oct 22, 2026

coreutilities

useEngine

This plugin can be used to customize the GraphQL Engine.

import { execute, parse, specifiedRules, subscribe, validate } from 'graphql'
import { envelop, useEngine } from '@envelop/core'

const getEnveloped = envelop({
  plugins: [
    useEngine({
      parse,
      validate,
      specifiedRules,
      execute,
      subscribe
    })
  ]
})