graphql-sse
Advanced tools
Changelog
2.0.0 (2022-12-20)
graphql-sse
is now server agnostic and as such offers a handler that implements a generic request/response modelonSubscribe
hook can now return an execution result too (useful for caching for example)onNext
and onComplete
hooks will bubble the error to the returned iteratorEven though the core of graphql-sse is now completely server agnostic, there are adapters to ease the integration with existing solutions. Migrating is actually not a headache!
Beware that the adapters don't handle internal errors, it's your responsibility to take care of that and behave accordingly.