Skip to content

Commit f709b35

Browse files
authored
Merge pull request #37 from ajkerr/update-docs-on-deprecation
Update documentation on @deprecated directive support
2 parents f028a45 + 1b1054d commit f709b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/tools/schema-definition/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ enum Episode {
250250
```
251251
## GraphQL Deprecations
252252

253-
GraphQL field/enum deprecations can be provided by the `@deprecated(reason: String)` directive, and are added to the generated schema.
253+
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.
254254
You can either supply a **reason** argument with a string value or not supply one and receive a "No longer supported" message when introspected:
255255

256256
```graphql

0 commit comments

Comments
 (0)