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

fix(serde_v8): Implement MapAccess for StructAccess #15962

Merged
merged 3 commits into from
Oct 2, 2022

Conversation

Suficio
Copy link
Contributor

@Suficio Suficio commented Sep 19, 2022

StructAccess implements serde::de::SeqAccess instead of serde::de::MapAccess thus interpreting structs as sequences.

Closes #15920

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work @Suficio! I verified that added tests fail on main branch.

@bartlomieju bartlomieju merged commit e07b62d into denoland:main Oct 2, 2022
hardfist pushed a commit to hardfist/deno that referenced this pull request Aug 7, 2024
`StructAccess` implements` serde::de::SeqAccess` instead of
`serde::de::MapAccess` thus interpreting structs as sequences.
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

Successfully merging this pull request may close these issues.

serde_v8: StructAccess implements SeqAccess
2 participants