Skip to content

Commit 6dc36a3

Browse files
tipokbbakerman
authored andcommitted
changed to allow empty bodies for type def
1 parent e5d007a commit 6dc36a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/antlr/GraphqlSDL.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ implementsInterfaces :
4848
IMPLEMENTS '&'? typeName+ |
4949
implementsInterfaces '&' typeName ;
5050

51-
fieldsDefinition : '{' fieldDefinition+ '}';
51+
fieldsDefinition : '{' fieldDefinition* '}';
5252

5353
fieldDefinition : description? name argumentsDefinition? ':' type directives?;
5454

0 commit comments

Comments
 (0)