graphql-sse
graphql-sse copied to clipboard
Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client.
We are using `@fastify/` `cors` and `cookies` and the headers are missing when using this library. If I change this line (https://github.com/enisdenjo/graphql-sse/blob/061b0fc48b3b2a892fde39de2dac3c67f5623d44/src/use/fastify.ts#L90) like this ( ```Node.js reply.raw.writeHead(init.status, init.statusText, {...reply.getHeaders(), ...init.headers});...
I've noticed that `text/event-stream` responses in `FireFox 127.0b9 (64-bit)` eventually end up with `Error in input stream` error. This doesn't happen in `Safari` or `Google Chrome`. I've tested this by...
**Screenshot** I use code from the [example here](https://the-guild.dev/graphql/sse/recipes#with-apollo)  **Expected Behaviour** The example should work without type errors. **Actual Behaviour** Instead I get the error as shown above. **Further Information**...
If an established subscription is disposed by calling its dispose function (which is returned by `subscribe` method itself), which is pretty common scenario, a memory leak occurs in the `Client`....