You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This in an implementation for a spec proposal:
* Spec proposal: [[RFC] Custom Scalar Specification URIs](graphql/graphql-spec#649)
* Original issue: [[RFC] Custom Scalar Specification URIs](graphql/graphql-spec#635)
Please let me know if I forgot something.
Copy file name to clipboardExpand all lines: src/utilities/__tests__/schemaPrinter-test.js
+14
Original file line number
Diff line number
Diff line change
@@ -590,6 +590,14 @@ describe('Type System Printer', () => {
590
590
if: Boolean!
591
591
) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
592
592
593
+
"""
594
+
Exposes a RFC3986-compliant URI that specifies the behaviour of this scalar.
595
+
"""
596
+
directive @specified(
597
+
"""The RFC3986-compliant URI that specifies the behaviour of this scalar."""
598
+
by: String!
599
+
) on FIELD_DEFINITION
600
+
593
601
"""Marks an element of a GraphQL schema as no longer supported."""
594
602
directive @deprecated(
595
603
"""
@@ -803,6 +811,12 @@ describe('Type System Printer', () => {
803
811
if: Boolean!
804
812
) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
805
813
814
+
# Exposes a RFC3986-compliant URI that specifies the behaviour of this scalar.
815
+
directive @specified(
816
+
# The RFC3986-compliant URI that specifies the behaviour of this scalar.
817
+
by: String!
818
+
) on FIELD_DEFINITION
819
+
806
820
# Marks an element of a GraphQL schema as no longer supported.
807
821
directive @deprecated(
808
822
# Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).
0 commit comments