useEngine
Package name | Weekly Downloads | Version | License | Updated |
---|---|---|---|---|
@envelop/core (opens in a new tab) | Feb 20th, 2023 |
useEngine
This plugin can be used to customize the GraphQL Engine.
import { envelop, useEngine } from '@envelop/core'
import { parse, validate, specifiedRules, execute, subscribe } from 'graphql'
const getEnveloped = envelop({
plugins: [
useEngine({
parse,
validate,
specifiedRules,
execute,
subscribe
})
]
})