File tree 2 files changed +0
-3
lines changed
2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ export type OperationDefinitionNode = {
187
187
selectionSet : SelectionSetNode ;
188
188
} ;
189
189
190
- // Note: subscription is an experimental non-spec addition.
191
190
export type OperationTypeNode = 'query' | 'mutation' | 'subscription' ;
192
191
193
192
export type VariableDefinitionNode = {
Original file line number Diff line number Diff line change @@ -236,7 +236,6 @@ function parseDefinition(lexer: Lexer<*>): DefinitionNode {
236
236
237
237
if ( peek ( lexer , TokenKind . NAME ) ) {
238
238
switch ( lexer . token . value ) {
239
- // Note: subscription is an experimental non-spec addition.
240
239
case 'query' :
241
240
case 'mutation' :
242
241
case 'subscription' :
@@ -304,7 +303,6 @@ function parseOperationType(lexer: Lexer<*>): OperationTypeNode {
304
303
switch ( operationToken . value ) {
305
304
case 'query' : return 'query' ;
306
305
case 'mutation' : return 'mutation' ;
307
- // Note: subscription is an experimental non-spec addition.
308
306
case 'subscription' : return 'subscription' ;
309
307
}
310
308
You can’t perform that action at this time.
0 commit comments