diff options
| author | Eugen Wissner <belka@caraus.de> | 2021-06-18 06:51:14 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2021-06-18 06:51:14 +0200 |
| commit | 6fe9eb72e42fb4ae36435324148e8f96e871a26c (patch) | |
| tree | bc0e10cb452702ea103a710575a404eda4b3dc4b /CHANGELOG.md | |
| parent | 2ce2be5d917091872b45b650b60ac2a23f544916 (diff) | |
| download | graphql-6fe9eb72e42fb4ae36435324148e8f96e871a26c.tar.gz | |
Fix merging fields with arguments
executeField shouldn't assume that a selection has only one field with a
given name, but it should take the first field. The underlying cause is
a wrong pattern, which (because of the laziness) is executed only if the
field has arguments.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 174e6dc..6abc211 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,10 @@ and this project adheres to - `valuesOfCorrectTypeRule` doesn't check objects recursively since the validation traverser calls it on all object properties. - Validation of non-nullable values inside lists. +- `executeField` shouldn't assume that a selection has only one field with a + given name, but it should take the first field. The underlying cause is a + wrong pattern, which (because of the laziness) is executed only if the field + has arguments. ### Changed - `AST.Document.Value.List` and `AST.Document.ConstValue.ConstList` contain |
