The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Envelop Logo

Envelop

Get Started

Plugin Hub > useDisableIntrospection

yarn add @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.

Getting Started#

yarn add @envelop/disable-introspection

Usage Example#

import { envelop } from '@envelop/core'; import { useDisableIntrospection } from '@envelop/disable-introspection'; const getEnveloped = envelop({ plugins: [useDisableIntrospection()], });

Plugin Details