diff --git a/src/type/directives.js b/src/type/directives.js index 9495f65ca9..e8a7b74fdb 100644 --- a/src/type/directives.js +++ b/src/type/directives.js @@ -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, }, }, diff --git a/src/utilities/__tests__/schemaPrinter-test.js b/src/utilities/__tests__/schemaPrinter-test.js index 2ff9717cd8..0881162703 100644 --- a/src/utilities/__tests__/schemaPrinter-test.js +++ b/src/utilities/__tests__/schemaPrinter-test.js @@ -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 @@ -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