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: rfcs/DeferStream.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
RFC: GraphQL Defer and Stream Directives
2
2
-------
3
3
4
-
*Working Draft - January 2020*
4
+
*Working Draft - July 2020*
5
5
6
6
# Introduction
7
7
@@ -68,7 +68,7 @@ Each subsequent payload will be an object with the following properties
68
68
*`label`: The string that was passed to the label argument of the `@defer` or `@stream` directive that corresponds to this results.
69
69
*`data`: The data that is being delivered incrementally.
70
70
*`path`: a list of keys (with plural indexes) from the root of the response to the insertion point that informs the client how to patch a subsequent delta payload into the original payload.
71
-
*`isFinal`: A boolean that is present and `false` when there are more payloads that will be sent for this operation.
71
+
*`hasNext`: A boolean that is present and `true` when there are more payloads that will be sent for this operation. The last payload in a multi payload response should return `hasNext: false`. `hasNext` is not required for single-payload responses to preserve backwards compatibility.
72
72
*`errors`: An array that will be present and contain any field errors that are produced while executing the deferred or streamed selection set.
73
73
*`extensions`: For implementors to extend the protocol
74
74
@@ -104,30 +104,31 @@ fragment GroupAdminFragment {
0 commit comments