Skip to content

Commit 3b08851

Browse files
committed
Merge pull request #156 from frankleonrose/master
Fix formal spec of lone anonymous operation
2 parents ea790f2 + 97dcc13 commit 3b08851

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec/Section 5 -- Validation.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,10 @@ mutation dogOperation {
142142

143143
** Formal Specification **
144144

145-
* Let {operations} be all anonymous operation definitions in the document.
146-
* {operations} must be a set of one.
145+
* Let {operations} be all operation definitions in the document.
146+
* Let {anonymous} be all anonymous operation definitions in the document.
147+
* If {operations} is a set of more than 1:
148+
* {anonymous} must be empty.
147149

148150
** Explanatory Text **
149151

0 commit comments

Comments
 (0)