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

Tracking issue: Unsupported serde attributes #125

Open
jamesmunns opened this issue Jan 13, 2024 · 4 comments
Open

Tracking issue: Unsupported serde attributes #125

jamesmunns opened this issue Jan 13, 2024 · 4 comments

Comments

@elrafoon
Copy link

I'm going to investigate #122.

@samtay
Copy link

samtay commented Jul 13, 2024

FYI I also have deserialization issues when using deserialize_with.

@dns2utf8
Copy link

I made a PoC for the skipping: #174

@ManevilleF
Copy link

It seems that #[serde(skip)] breaks deserialization, due to discriminant offset

pub enum MyEnum {
    A,
    #[serde(skip)]
    B,
    C,
    D,
}

In this case deserializing A would work. But not C. postcard would attempt to deserialize C as D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants