useEngine
Package name | Weekly Downloads | Version | License | Updated |
---|---|---|---|---|
@envelop/core (opens in a new tab) | Oct 16th, 2023 |
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
})
]
})