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

cleanup(serde_v8): streamline magic types #14076

Merged
merged 25 commits into from
Mar 23, 2022

Conversation

AaronO
Copy link
Contributor

@AaronO AaronO commented Mar 22, 2022

Formalize magic types and how they're "transerialized"

Also makes U16String deserializable

Formalize magic types and how they're transerialized

Also makes `U16String` deserializable
serde_v8/src/magic/tr8.rs Outdated Show resolved Hide resolved
serde_v8/src/magic/u16string.rs Show resolved Hide resolved
serde_v8/src/de.rs Outdated Show resolved Hide resolved
serde_v8/src/magic/buffer.rs Outdated Show resolved Hide resolved
serde_v8/src/magic/buffer.rs Outdated Show resolved Hide resolved
serde_v8/src/magic/tr8.rs Outdated Show resolved Hide resolved
serde_v8/src/magic/tr8.rs Outdated Show resolved Hide resolved
serde_v8/src/de.rs Outdated Show resolved Hide resolved
serde_v8/src/magic/buffer.rs Outdated Show resolved Hide resolved
serde_v8/src/ser.rs Outdated Show resolved Hide resolved
Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

Would be good to have a unit test showing deserializing U16String

nevermind - i see it

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM - it's complex stuff that I don't understand completely, but tests pass.

@AaronO AaronO force-pushed the cleanup/serde-v8-transerializer branch from d65dfbf to dd4e0c8 Compare March 23, 2022 19:34
@AaronO AaronO merged commit f580134 into denoland:main Mar 23, 2022
@AaronO AaronO deleted the cleanup/serde-v8-transerializer branch March 23, 2022 20:15
kitsonk pushed a commit to kitsonk/deno that referenced this pull request Mar 23, 2022
Formalize magic types and how they're "transerialized", also makes U16String deserializable
kitsonk pushed a commit that referenced this pull request Mar 24, 2022
Formalize magic types and how they're "transerialized", also makes U16String deserializable
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.

None yet

6 participants