useEngine

This plugin can be used to customize the GraphQL Engine.

Weekly downloads
9.2M
Version
5.6.1
License
MIT
Updated
Sep 16, 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
    })
  ]
})