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

Check type of incoming data before trying to decode NDJSON #29

Merged
merged 1 commit into from
May 10, 2022

Conversation

SimonFrings
Copy link
Contributor

This changeset adds additional type checks for the incoming data before trying to decode as NDJSON. This should not affect normal usage, but helps with ensuring type safety and detecting issues when the Decoder has not been set up properly.

Builds on top of clue/reactphp-csv#27.

Copy link
Owner

@clue clue left a comment

Choose a reason for hiding this comment

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

@SimonFrings Thanks for looking into this, changes LGTM! :shipit:

@clue clue added this to the v1.3.0 milestone May 10, 2022
@clue clue merged commit a648565 into clue:main May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants