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
Copy file name to clipboardExpand all lines: src/utilities/__tests__/schemaPrinter-test.js
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -590,6 +590,15 @@ describe('Type System Printer', () => {
590
590
if: Boolean!
591
591
) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
592
592
593
+
"""Directs the executor to defer fragment when the \`if\` argument is true."""
594
+
directive @defer(
595
+
"""Deferred when true."""
596
+
if: Boolean
597
+
598
+
"""label"""
599
+
label: String!
600
+
) on FRAGMENT_SPREAD
601
+
593
602
"""Marks an element of a GraphQL schema as no longer supported."""
594
603
directive @deprecated(
595
604
"""
@@ -803,6 +812,15 @@ describe('Type System Printer', () => {
803
812
if: Boolean!
804
813
) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
805
814
815
+
# Directs the executor to defer fragment when the \`if\` argument is true.
816
+
directive @defer(
817
+
# Deferred when true.
818
+
if: Boolean
819
+
820
+
# label
821
+
label: String!
822
+
) on FRAGMENT_SPREAD
823
+
806
824
# Marks an element of a GraphQL schema as no longer supported.
807
825
directive @deprecated(
808
826
# 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