diff options
| author | Eugen Wissner <belka@caraus.de> | 2020-05-22 10:11:48 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2020-05-22 10:11:48 +0200 |
| commit | 26cc53ce0678d48bf7d5550df65171e6bf5288d2 (patch) | |
| tree | 4b823c8d481463f2d2eb43beeea06310b2c51e5e /CHANGELOG.md | |
| parent | c3ecfece0358d79dd1da6efbe6ab83e63bf50f88 (diff) | |
| download | graphql-26cc53ce0678d48bf7d5550df65171e6bf5288d2.tar.gz | |
Reject variables as default values
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7633c5a..c54d090 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,14 +7,17 @@ and this project adheres to [Haskell Package Versioning Policy](https://pvp.haskell.org/). ## [Unreleased] +### Fixed +- The parser rejects variables when parsing defaultValue (DefaultValue). The + specification defines default values as `Value` with `const` parameter and + constant cannot be variables. `AST.Document.ConstValue` was added, + `AST.Document.ObjectField` was modified. + ### Changed - `Resolver` is now `Resolver Name FieldResolver` where `FieldResolver` can contain a JSON value or another resolver, which is invoked during the execution. `FieldResolver` is executed in `ActionT` and the current `Field` is passed in the reader and not as an explicit argument. -- `Execute.Transform.OperationDefinition` is almost the same as - `AST.Document.OperationDefinition`. It is used to unify operations in the - shorthand form and other operations. - `Execute.Transform.operation` has the prior responsibility of `Execute.Transform.document`, but transforms only the chosen operation and not the whole document. `Execute.Transform.document` translates |
