Skip to content

Commit

Permalink
Merge pull request #151 from jjergus/master
Browse files Browse the repository at this point in the history
additional operation name uniqueness validation example
  • Loading branch information
leebyron committed Mar 18, 2016
2 parents 582eb32 + c36c6db commit fb100f1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spec/Section 5 -- Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,22 @@ query getName {
}
```

It is invalid even if the type of each operation is different:

```!graphql
query dogOperation {
dog {
name
}
}
mutation dogOperation {
mutateDog {
id
}
}
```

### Anonymous Operation Definitions

#### Lone Anonymous Operation
Expand Down

0 comments on commit fb100f1

Please sign in to comment.