Skip to content

Provide more information on deserialization Errors #18

@sebasmagri

Description

@sebasmagri

We're constantly getting errors from from_value like this one:

Error: internal error in native module: Failed to process input campaigns chunk: Err
or(Msg("invalid type: unit value, expected a string"), State { next_error: None, backtrace: None })

As we're processing and trying to deserialize quite big JSON objects, it's pretty hard to find which value got an unit value (null) instead of a String.

It'd be nice to have neon-serde providing more information of, at least, the key/property that failed to be deserialized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions