This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: complete implementation (fragments, introspection...)
BREAKING CHANGE: - Removed support for Observable rootValue - Removed the support for Observable variables: If necessary, it can be done by the user with a simple: ```js variables$.pipe( switchMap(variables => graphql({ schema, source: query, variables })) ) ``` - Removed support for query as Document in graphql(): ```js // 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
- Loading branch information