8000 Fix link and description of supported Markdown · graphql-python/graphql-core@dc7a028 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc7a028

Browse files
committed
Fix link and description of supported Markdown
Replicates graphql/graphql-js@0c45ddf
1 parent 16d2ddb commit dc7a028

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

graphql/type/directives.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ def __repr__(self):
116116
GraphQLString,
117117
description='Explains why this element was deprecated,'
118118
' usually also including a suggestion for how to access'
119-
' supported similar data. Formatted in [Markdown]'
120-
'(https://daringfireball.net/projects/markdown/).',
119+
' supported similar data.'
120+
' Formatted using the Markdown syntax, as specified by'
121+
' [CommonMark](https://commonmark.org/).',
121122
default_value=DEFAULT_DEPRECATION_REASON)},
122123
description='Marks an element of a GraphQL schema as no longer supported.')
123124

tests/utilities/test_schema_printer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ def prints_introspection_schema():
529529
directive @deprecated(
530530
"""
531531
Explains why this element was deprecated, usually also including a suggestion
532-
for how to access supported similar data. Formatted in
533-
[Markdown](https://daringfireball.net/projects/markdown/).
532+
for how to access supported similar data. Formatted using the Markdown syntax,
533+
as specified by [CommonMark](https://commonmark.org/).
534534
"""
535535
reason: String = "No longer supported"
536536
) on FIELD_DEFINITION | ENUM_VALUE

0 commit comments

Comments
 (0)
0