This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Releases: d2iq-archive/reactive-graphql
Releases · d2iq-archive/reactive-graphql
v4.0.1
v4.0.0
4.0.0 (2019-09-30)
Features
- complete implementation (fragments, introspection...) (ccfa24b)
BREAKING CHANGES
-
- Removed support for Observable rootValue
- Removed the support for Observable variables: If necessary, it can be done by the user with a simple:
variables$.pipe(
switchMap(variables => graphql({ schema, source: query, variables }))
)
- Removed support for query as Document in graphql():
// previously ok:
graphql(schema, gql`query {}`)
// now use:
execute(schema, gql`query {}`)
// or
graphql(schema, `query {}`)
- Error handling: every expected errors (validation, syntax error, throwing resolver...) are pushed in the error field of the ExecutionResult, the RxJS stream does not throw in these cases anymore
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2019-01-22)
- feat(signature) accept variables parameter (168b0e8)
Bug Fixes
- align export with graphql convention (77a4c7b), closes #4
- change order of arguments to align with graphql (5e5cd09), closes #4
- rxjs interoperability (93ae0d0), closes #5
Features
BREAKING CHANGES
- Please add the root value as third argument, null or an
empty object are great default values for this. - Its now schema, query instead of query, schema, so the
inputs in all projects need to change - All imports need to be
import {graphql}
instead of
import graphql
from now on - context param was used to get resolver's arguments. It's not the case anymore.