@@ -49,8 +49,8 @@ stream of _execution result_.
4949:: A GraphQL request returns an _ incremental stream_ when the GraphQL service
5050has deferred or streamed data as a result of the ` @defer ` or ` @stream `
5151directives. When the result of the GraphQL operation is an incremental stream,
52- the first value will be an _ initial execution result_ , followed by one or more
53- _ execution update result_ .
52+ the first value will be an _ initial incremental stream result_ , followed by one
53+ or more _ incremental stream update result_ .
5454
5555### Request Error Result
5656
@@ -79,58 +79,60 @@ The _request error result_ map must not contain an entry with key {"data"}.
7979The _ request error result_ map may also contain an entry with key ` extensions ` .
8080The value of this entry is described in the "Extensions" section.
8181
82- ### Initial Execution Result
82+ ### Initial Incremental Stream Result
8383
84- :: An _ initial execution result_ is the first value yielded by an _ incremental
85- stream_ .
84+ :: An _ initial incremental stream result_ is the first value yielded by an
85+ _ incremental stream_ .
8686
87- An _ initial execution result_ must be a map.
87+ An _ initial incremental stream result_ must be a map.
8888
89- The _ initial execution result_ must contain an entry with key {"data"}, and may
90- contain entries with keys {"errors"} and {"extensions"}. The value of these
91- entries are defined in the same way as an _ execution result_ as described in the
92- "Data", "Errors", and "Extensions" sections below.
89+ The _ initial incremental stream result_ must contain an entry with key {"data"},
90+ and may contain entries with keys {"errors"} and {"extensions"}. The value of
91+ these entries are defined in the same way as an _ execution result_ as described
92+ in the "Data", "Errors", and "Extensions" sections below.
9393
94- The _ initial execution result_ must contain an entry with the key {"hasNext"}.
95- The value of this entry must be {true}.
94+ The _ initial incremental stream result_ must contain an entry with the key
95+ {"hasNext"}. The value of this entry must be {true}.
9696
97- The _ initial execution result_ may contain an entry with the key {"pending"}.
98- The value of this entry must be a non-empty list of _ pending result _ . Each
99- _ pending result_ must be a map as described in the "Pending Result" section
100- below.
97+ The _ initial incremental stream result_ may contain an entry with the key
98+ {"pending"}. The value of this entry must be a non-empty list of _ pending
99+ result _ . Each _ pending result_ must be a map as described in the "Pending
100+ Result" section below.
101101
102- The _ initial execution result_ may contain an entry with they key
102+ The _ initial incremental stream result_ may contain an entry with they key
103103{"incremental"}. The value of this entry must be a non-empty list of
104104_ incremental result_ . Each _ incremental result_ must be a map as described in
105105the "Incremental Result" section below.
106106
107- The _ initial execution result_ may contain an entry with they key {"completed"}.
108- The value of this entry must be a non-empty list of _ completed result _ . Each
109- _ completed result_ must be a map as described in the "Completed Result" section
110- below.
107+ The _ initial incremental stream result_ may contain an entry with they key
108+ {"completed"}. The value of this entry must be a non-empty list of _ completed
109+ result _ . Each _ completed result_ must be a map as described in the "Completed
110+ Result" section below.
111111
112- ### Execution Update Result
112+ ### Incremental Stream Update Result
113113
114- :: An _ execution update result_ is the value yielded by an _ incremental stream _
115- for all values except the first.
114+ :: An _ incremental stream update result_ is the value yielded by an _ incremental
115+ stream _ for all values except the first.
116116
117- An _ execution update result_ must be a map.
117+ An _ incremental stream update result_ must be a map.
118118
119- Unlike the _ initial execution result_ , an _ execution update result _ must not
120- contain entries with keys {"data"} or {"errors"}.
119+ Unlike the _ initial incremental stream result_ , an _ incremental stream update
120+ result _ must not contain entries with keys {"data"} or {"errors"}.
121121
122- An _ execution update result_ may contain an entry with the key {"extensions"}.
123- The value of this entry is described in the "Extensions" section.
122+ An _ incremental stream update result_ may contain an entry with the key
123+ {"extensions"}. The value of this entry is described in the "Extensions"
124+ section.
124125
125- An _ execution update result_ must contain an entry with the key {"hasNext"}. The
126- value of this entry must be {true} for all but the last response in the
127- _ incremental stream_ . The value of this entry must be {false} for the last
128- response of the incremental stream.
126+ An _ incremental stream update result_ must contain an entry with the key
127+ {"hasNext"}. The value of this entry must be {true} for all but the last
128+ response in the _ incremental stream_ . The value of this entry must be {false}
129+ for the last response of the incremental stream.
129130
130- The _ initial execution result_ may contain entries with keys {"pending"},
131- {"incremental"}, and/or {"completed"}. The value of these entries are defined in
132- the same way as an _ initial execution result_ as described in the "Pending
133- Result", "Incremental Result", and "Completed Result" sections below.
131+ The _ initial incremental stream result_ may contain entries with keys
132+ {"pending"}, {"incremental"}, and/or {"completed"}. The value of these entries
133+ are defined in the same way as an _ initial incremental stream result_ as
134+ described in the "Pending Result", "Incremental Result", and "Completed Result"
135+ sections below.
134136
135137### Response Position
136138
@@ -389,10 +391,10 @@ discouraged.
389391### Extensions
390392
391393The {"extensions"} entry in an _ execution result_ , _ request error result_ ,
392- _ initial execution result_ , or an _ execution update result_ , if set, must have a
393- map as its value. This entry is reserved for implementers to extend the protocol
394- however they see fit, and hence there are no additional restrictions on its
395- contents.
394+ _ initial incremental stream result_ , or an _ incremental stream update result_ ,
395+ if set, must have a map as its value. This entry is reserved for implementers to
396+ extend the protocol however they see fit, and hence there are no additional
397+ restrictions on its contents.
396398
397399### Pending Result
398400
@@ -431,16 +433,16 @@ for different deferred fragments at the same _response position_.
431433If a pending result is not returned for a ` @defer ` or ` @stream ` directive,
432434clients must assume that the GraphQL service chose not to incrementally deliver
433435this data, and the data can be found either in the {"data"} entry in the
434- _ initial execution result_ , or one of the prior _ execution update result _ in the
435- _ incremental stream_ .
436+ _ initial incremental stream result_ , or one of the prior _ incremental stream
437+ update result _ in the _ incremental stream_ .
436438
437439:: The _ associated pending result_ is a specific _ pending result_ associated
438440with any given _ incremental result_ or _ completed result_ . The associated
439441pending result can be determined by finding the pending result where the value
440442of its {"id"} entry is the same value of the {"id"} entry of the given
441443incremental result or completed result. The associated pending result must
442- appear in the _ incremental stream_ , in the same or prior _ initial execution
443- result_ or _ execution update result_ as the given incremental result or
444+ appear in the _ incremental stream_ , in the same or prior _ initial incremental
445+ stream result_ or _ execution update result_ as the given incremental result or
444446completed result.
445447
446448### Incremental Result
@@ -531,8 +533,8 @@ errors. The value of this entry is described in the "Errors" section.
531533:: A _ completed result_ is used to communicate that the GraphQL service has
532534completed the incremental delivery of the data associated with the _ associated
533535pending result_ . The corresponding data must have been completed in the same
534- _ initial execution result_ or _ execution update result_ in which this completed
535- result appears.
536+ _ initial incremental stream result_ or _ incremental stream update result_ in
537+ which this completed result appears.
536538
537539** Completed Result Format**
538540
0 commit comments