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

Prevent encoding invalid data #31

Open
SimonFrings opened this issue May 18, 2022 · 0 comments
Open

Prevent encoding invalid data #31

SimonFrings opened this issue May 18, 2022 · 0 comments
Labels
help wanted Extra attention is needed new feature New feature or request

Comments

@SimonFrings
Copy link
Contributor

CSV is limited to untyped, two-dimensional data, so there's no standard way of storing any nested structures or to differentiate a boolean value from a string or integer. When passing invalid data into the output stream, this stream should abort and close itself. This should be prevented by checking the data type when encoding the incoming data.

Refs clue/reactphp-tsv#8

@clue clue added new feature New feature or request help wanted Extra attention is needed labels May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants