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 > useFragmentArguments

yarn add @envelop/fragment-arguments

@envelop/fragment-arguments#

This plugins replaces the default GraphQL parser with an extended version that supports setting arguments on fragments.

For reference, see: https://github.com/graphql/graphql-js/pull/3152

PLEASE DON'T USE THIS IN PRODUCTION!

Getting Started#

yarn add @envelop/fragment-arguments

Usage Example#

import { envelop } from '@envelop/core'; import { useFragmentArguments } from '@envelop/fragment-arguments'; const getEnveloped = envelop({ plugins: [ // ... other plugins ... useFragmentArguments(), ], });

Plugin Details