-
Notifications
You must be signed in to change notification settings - Fork 222
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
Incorrect serialize/deserialize struct with empty Vec field #114
Comments
Is this still true for the latest release? |
matthiasbeyer
added a commit
to matthiasbeyer/config-rs
that referenced
this issue
Mar 31, 2021
This patch adds the (failing) test from rust-cli#114 to validate that this issue still exists on the latest version of the crate. Signed-off-by: Matthias Beyer <[email protected]>
Yes, this is still true for 0.11. |
matthiasbeyer
added a commit
to matthiasbeyer/config-rs
that referenced
this issue
Jul 10, 2021
This patch adds the (failing) test from rust-cli#114 to validate that this issue still exists on the latest version of the crate. Signed-off-by: Matthias Beyer <[email protected]>
Is this still an issue? I think I've just bumped into it with Hashmasps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote the following test:
After running it displays this error:
When I add the
#[serde(default)]
attribute to theseq
field, it is successful, but if the struct contains only an empty-vec-field, it does not help.The text was updated successfully, but these errors were encountered: