From b9d5b1fb1bdf634137f463186585bc51e540353b Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 19 Jul 2020 07:36:06 +0200 Subject: Return a stream as well from graphql* functions --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 79cf9c7..0f7f370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to - `Error.ResolverException` is an exception that can be thrown by (field value and event stream) resolvers to signalize an error. Other exceptions will escape. +- `Test.Hspec.GraphQL` contains some test helpers. ## Changed - `Type.Out.Resolver`: Interface fields don't have resolvers, object fields @@ -46,7 +47,9 @@ and this project adheres to - `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). + underlying functions (in the `Execute` module). The function returns either a + a stream or the resolved value. +- `graphql` returns either a stream or the resolved value. - The constraint of the base monad was changed to `MonadCatch` (and it implies `MonadThrow`). -- cgit v1.2.3