-
Notifications
You must be signed in to change notification settings - Fork 13
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
Storage hook cannot deserialize everything serde can #20
Comments
Is this still an issue @srid ? |
I'll check this after doing juspay/omnix#125 |
We still use |
I just got bit by this, but mine was a bit more annoying to track down. Currently no error is logged upon a deserialization failure, rather the error just gets Can we replace the |
We should switch to cbor or bincode which are binary encoding formats that support more serde features |
|
See #17 (comment) for the original issue wherein I reported that #17's use of
postcard
fails to deserialize certain types from disk ontoSignal
s.Here's a simple type that will trigger postcard's
WontImplement
error:Here's the code to reproduce:
Run the app, then quit and run it again, the console should print:
If we remove the
#[serde(untagged)]
, the code works as expected. Turns out we are not the first to notice this issue withpostcard
:jamesmunns/postcard#92
The text was updated successfully, but these errors were encountered: