Commit 0c4d26d
committed
fix: don't treat empty operation name as special
previously, if an empty operation name was given and multiple
operations were provided in the query, then the first operation would be
returned. not entirely sure why this would be the desired behaviour,
when an exception would be thrown for any other value that doesn't
match an existing operation in the query.1 parent e5f21b8 commit 0c4d26d
File tree
2 files changed
+6
-3
lines changed- src
- main/java/graphql/language
- test/groovy/graphql/language
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
0 commit comments