Skip to content

fix(serde_v8): Implement MapAccess for StructAccess - #15962

Merged
bartlomieju merged 3 commits into
denoland:mainfrom
Suficio:deserialize-struct
Oct 2, 2022
Merged

bartlomieju merged 3 commits into
denoland:mainfrom
Suficio:deserialize-struct

Conversation

@Suficio

@Suficio Suficio commented Sep 19, 2022

Copy link
Copy Markdown
Contributor

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

Closes #15920

@bartlomieju bartlomieju left a comment

Copy link
Copy Markdown
Member

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