$ npm install @envelop/disable-introspection
@envelop/disable-introspection
This plugin injects the NoSchemaIntrospectionCustomRule
validation rule exported from the graphql
module to the validation phase for disabling introspection.
yarn add @envelop/disable-introspection
import { envelop } from '@envelop/core';
import { useDisableIntrospection } from '@envelop/disable-introspection';
const getEnveloped = envelop({
plugins: [useDisableIntrospection()],
});
© 2010 - cnpmjs.org x YWFE | Home | YWFE