Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/type/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ export const GraphQLDeprecatedDirective = new GraphQLDirective({
type: GraphQLString,
description:
'Explains why this element was deprecated, usually also including a ' +
'suggestion for how to access supported similar data. Formatted ' +
'in [Markdown](https://daringfireball.net/projects/markdown/).',
'suggestion for how to access supported similar data. Formatted using ' +
'the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).',
defaultValue: DEFAULT_DEPRECATION_REASON,
},
},
Expand Down
8 changes: 4 additions & 4 deletions src/utilities/__tests__/schemaPrinter-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,8 @@ describe('Type System Printer', () => {
directive @deprecated(
"""
Explains why this element was deprecated, usually also including a suggestion
for how to access supported similar data. Formatted in
[Markdown](https://daringfireball.net/projects/markdown/).
for how to access supported similar data. Formatted using the Markdown syntax
(as specified by [CommonMark](https://commonmark.org/).
"""
reason: String = "No longer supported"
) on FIELD_DEFINITION | ENUM_VALUE
Expand Down Expand Up @@ -865,8 +865,8 @@ describe('Type System Printer', () => {
# Marks an element of a GraphQL schema as no longer supported.
directive @deprecated(
# Explains why this element was deprecated, usually also including a suggestion
# for how to access supported similar data. Formatted in
# [Markdown](https://daringfireball.net/projects/markdown/).
# for how to access supported similar data. Formatted using the Markdown syntax
# (as specified by [CommonMark](https://commonmark.org/).
reason: String = "No longer supported"
) on FIELD_DEFINITION | ENUM_VALUE

Expand Down