Skip to content

feat: generalize subscription event parsing#2071

Merged
nedsalk merged 13 commits intomasterfrom
ns/feat/generalize-subscription-event-parsing
Apr 16, 2024
Merged

feat: generalize subscription event parsing#2071
nedsalk merged 13 commits intomasterfrom
ns/feat/generalize-subscription-event-parsing

Conversation

@nedsalk
Copy link
Contributor

@nedsalk nedsalk commented Apr 16, 2024

This PR updates the event stream parsing logic to properly parse events streamed in multiple chunks and multiple events streamed in one chunk (which was the issue reported in #2053).

closes #2053 and adds infrastructure necessary for #1644

@nedsalk nedsalk added the feat Issue is a feature label Apr 16, 2024
@nedsalk nedsalk self-assigned this Apr 16, 2024
@nedsalk nedsalk marked this pull request as ready for review April 16, 2024 12:33
@nedsalk nedsalk requested a review from maschad April 16, 2024 15:12
maschad
maschad previously approved these changes Apr 16, 2024
Copy link
Contributor

@maschad maschad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

arboleya
arboleya previously approved these changes Apr 16, 2024
@nedsalk nedsalk dismissed stale reviews from arboleya and maschad via 3c8213f April 16, 2024 17:56
@nedsalk nedsalk enabled auto-merge (squash) April 16, 2024 17:56
@github-actions
Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
79.42%(+0.04%) 69.74%(+0.07%) 77.36%(+0.03%) 79.57%(+0.04%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
packages/account/src/providers/fuel-graphql-subscriber.ts 100%
(+4%)
100%
(+12.5%)
100%
(+0%)
100%
(+4%)

@nedsalk nedsalk merged commit 3c0aacc into master Apr 16, 2024
@nedsalk nedsalk deleted the ns/feat/generalize-subscription-event-parsing branch April 16, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Issue is a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error while parsing stream data response

4 participants

Comments