graphql-sse icon indicating copy to clipboard operation
graphql-sse copied to clipboard

Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client.

Results 4 graphql-sse issues
Sort by recently updated
recently updated
newest added

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});...

bug

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...

bug

**Screenshot** I use code from the [example here](https://the-guild.dev/graphql/sse/recipes#with-apollo) ![image](https://github.com/user-attachments/assets/790e5dc6-ad36-48e5-a692-3dbe19b0c0e2) **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`....