File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,11 @@ export const GraphQLStreamDirective = new GraphQLDirective({
204204 'Directs the executor to stream plural fields when the `if` argument is true or undefined.' ,
205205 locations : [ DirectiveLocation . FIELD ] ,
206206 args : {
207+ initialCount : {
208+ default : { value : 0 } ,
209+ type : new GraphQLNonNull ( GraphQLInt ) ,
210+ description : 'Number of items to return immediately' ,
211+ } ,
207212 if : {
208213 type : new GraphQLNonNull ( GraphQLBoolean ) ,
209214 description : 'Stream when true or undefined.' ,
@@ -213,11 +218,6 @@ export const GraphQLStreamDirective = new GraphQLDirective({
213218 type : GraphQLString ,
214219 description : 'Unique name' ,
215220 } ,
216- initialCount : {
217- default : { value : 0 } ,
218- type : GraphQLInt ,
219- description : 'Number of items to return immediately' ,
220- } ,
221221 } ,
222222} ) ;
223223
You can’t perform that action at this time.
0 commit comments