Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(handler): Always include the data field in stream messages #71

Merged
merged 4 commits into from
Jul 31, 2023

Conversation

enisdenjo
Copy link
Owner

Nothing changes semantically, this fix is here more because of compatibility reasons. For example, Node's EventSource client does not capture empty events.

Also, added an example for using EventSource as a client without graphql-sse.

@enisdenjo enisdenjo changed the title fix(handler): Always include the data field fix(handler): Always include the data field in stream messages Jul 31, 2023
@github-actions
Copy link

💻 Website Preview

The latest changes are available as preview in: https://04c6d001.graphql-sse.pages.dev

@enisdenjo enisdenjo merged commit 4643c9a into master Jul 31, 2023
6 checks passed
@enisdenjo enisdenjo deleted the data-field branch July 31, 2023 14:59
enisdenjo pushed a commit that referenced this pull request Jul 31, 2023
## [2.2.1](v2.2.0...v2.2.1) (2023-07-31)

### Bug Fixes

* **handler:** Always include the `data` field in stream messages ([#71](#71)) ([4643c9a](4643c9a))
@enisdenjo
Copy link
Owner Author

🎉 This PR is included in version 2.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Has been released and published
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant