useEngine
Package name | Weekly Downloads | Version | License | Updated |
---|---|---|---|---|
@envelop/core | Aug 20th, 2024 |
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
})
]
})