Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

v4.0.0

Compare
Choose a tag to compare
@mesosphere-frontend-ci mesosphere-frontend-ci released this 30 Sep 13:11
· 3 commits to master since this release

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