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
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -601,6 +601,20 @@ describe('Type System Printer', () => {
601
601
label: String!
602
602
) on FRAGMENT_SPREAD | INLINE_FRAGMENT
603
603
604
+
"""
605
+
Directs the executor to stream plural fields when the \`if\` argument is true or undefined.
606
+
"""
607
+
directive @stream(
608
+
"""Stream when true or undefined."""
609
+
if: Boolean
610
+
611
+
"""Unique name"""
612
+
label: String!
613
+
614
+
"""Number of items to return immediately"""
615
+
initial_count: Int!
616
+
) on FIELD
617
+
604
618
"""Marks an element of a GraphQL schema as no longer supported."""
605
619
directive @deprecated(
606
620
"""
@@ -823,6 +837,18 @@ describe('Type System Printer', () => {
823
837
label: String!
824
838
) on FRAGMENT_SPREAD | INLINE_FRAGMENT
825
839
840
+
# Directs the executor to stream plural fields when the \`if\` argument is true or undefined.
841
+
directive @stream(
842
+
# Stream when true or undefined.
843
+
if: Boolean
844
+
845
+
# Unique name
846
+
label: String!
847
+
848
+
# Number of items to return immediately
849
+
initial_count: Int!
850
+
) on FIELD
851
+
826
852
# Marks an element of a GraphQL schema as no longer supported.
827
853
directive @deprecated(
828
854
# 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