From 1b1054d33ec79363b95fc9348c2458b7eb290b23 Mon Sep 17 00:00:00 2001 From: Andrew Kerr Date: Tue, 13 Sep 2022 19:00:35 -0400 Subject: [PATCH] Update documentation on @deprecated directive support --- content/tools/schema-definition/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tools/schema-definition/index.md b/content/tools/schema-definition/index.md index 10c8f2e..dcc4857 100644 --- a/content/tools/schema-definition/index.md +++ b/content/tools/schema-definition/index.md @@ -250,7 +250,7 @@ enum Episode { ``` ## GraphQL Deprecations -GraphQL field/enum deprecations can be provided by the `@deprecated(reason: String)` directive, and are added to the generated schema. +GraphQL deprecations on output fields, enums, arguments, directive arguments, and input fields can be provided by the `@deprecated(reason: String)` directive, and are added to the generated schema. You can either supply a **reason** argument with a string value or not supply one and receive a "No longer supported" message when introspected: ```graphql