summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-07-08 08:16:14 +0200
committerEugen Wissner <belka@caraus.de>2020-07-08 08:17:55 +0200
commitc9e265f72c301a543091d58ec10863c66b279fd0 (patch)
treeffe05b502fc20ce163130b7e3d383da19d76af6d /CHANGELOG.md
parentb2d473de8dac0f85f11a8f9985d1a9a4dfee03ab (diff)
downloadgraphql-c9e265f72c301a543091d58ec10863c66b279fd0.tar.gz
Return parser error location in a list
An error can have multiple locations which are returned in a listt with key "locations".
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index efcc224..40b29f5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,8 +7,13 @@ and this project adheres to
[Haskell Package Versioning Policy](https://pvp.haskell.org/).
## [Unreleased]
+## Fixed
+- Location of a parse error is returned in a singleton array with key
+ `locations`.
+
## Added
- `AST` reexports `AST.Parser`.
+- `AST.Document.Location` is a token location as a line and column pair.
- `Execute` reexports `Execute.Coerce`.
- `Error.Error` is an error representation with a message and source location.
- `Error.Response` represents a result of running a GraphQL query.
@@ -25,6 +30,10 @@ and this project adheres to
- `Execute.execute` takes an additional argument, a possible operation name.
- `Error` module was changed to work with dedicated types for errors and the
response instead of JSON.
+- `graphqlSubs` takes an additional argument, the operation name. The type of
+ variable names is changed back to JSON since it is a common format and it
+ saves additional conversions. Custom format still can be used with the
+ underlying functions (in the `Execute` module).
## Removed
- `Type.Out.Resolver`: It is an unneeded layer of complexity. Resolvers are a