On this page

makeDeprecatedDirective

The makeDeprecatedDirective function exported by @graphql-tools/utils.

makeDeprecatedDirective<TDirectiveNode>(deprecationReason): TDirectiveNode

Defined in: packages/utils/src/print-schema-with-directives.ts:498

Type Parameters

TDirectiveNode

TDirectiveNode extends DirectiveNode

Parameters

deprecationReason

string

Returns

TDirectiveNode