Skip to content

Prevent encoding invalid data #31

Description

@SimonFrings

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needednew featureNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions