diff options
| author | Eugen Wissner <belka@caraus.de> | 2020-09-16 09:12:49 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2020-09-16 09:12:49 +0200 |
| commit | 6e644c5b4b3a8284ed0a1f0a84fef775f70a68d6 (patch) | |
| tree | 56cac7b46b3621c8621e5f8026e275c3b464394d /CHANGELOG.md | |
| parent | 4c10ce92041dc73a95aeb64aca241dd937ffaa5c (diff) | |
| download | graphql-6e644c5b4b3a8284ed0a1f0a84fef775f70a68d6.tar.gz | |
Move path to the execution error
Since it isn't possible to get a path during validation, without
executing the query.
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 85ffcf1..d26c746 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ and this project adheres to rules. `rules` was a part of the `Validation` context to pass it easier around, but since the rules are traversed once now and applied to all nodes in the tree at the beginning, it isn't required anymore. +- `Validate.Validation.Error`: `path` is removed since it isn't possible to get + the path without executing the query. +- `Error.Error`: `path` added. It is currently always empty. +- `Validate.Validation.Path` was moved to `Error`. ### Added - `Validate.Validation.Rule`: `SelectionRule`, `FieldRule`, `FragmentRule`, |
