3Hren / 3Hren/msgpack-rust

rmp_serde: TypeMismatch is not very informative

Open
#162 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1.4k
Forks
162
PR merge metrics
No merged PRs in 30d

Description

If I try to deserialize and get a TypeMismatch error, it tells me the actual type of the data, but it doesn't tell me the type that was expected. It would be easier to track down this kind of error if both were reported. (It would be even better if rmp_serde could report the location in the data where the error took place, but I'm not sure how feasible that would be.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.