File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ schemaDefinition : description? SCHEMA directives? '{' operationTypeDefinition+
1616
1717schemaExtension :
1818 EXTEND SCHEMA directives? ' {' operationTypeDefinition+ ' }' |
19- EXTEND SCHEMA directives+
19+ EXTEND SCHEMA directives
2020;
2121
2222operationTypeDefinition : description? operationType ' :' typeName;
Original file line number Diff line number Diff line change @@ -407,10 +407,10 @@ private SDLDefinition creationSchemaExtension(GraphqlParser.SchemaExtensionConte
407407 addCommonData (def , ctx );
408408
409409 List <Directive > directives = new ArrayList <>();
410- List < GraphqlParser . DirectivesContext > directivesCtx = ctx . directives ();
411- for ( GraphqlParser .DirectivesContext directiveCtx : directivesCtx ) {
412- directives .addAll (createDirectives (directiveCtx ));
413- }
410+
411+ GraphqlParser .DirectivesContext directivesCtx = ctx . directives ();
412+ directives .addAll (createDirectives (directivesCtx ));
413+
414414 def .directives (directives );
415415
416416 List <OperationTypeDefinition > operationTypeDefs = map (ctx .operationTypeDefinition (), this ::createOperationTypeDefinition );
You can’t perform that action at this time.
0 commit comments