Skip to content

refactor: use ToV8 on enums instead of serde#31991

Draft
crowlKats wants to merge 1 commit intodenoland:mainfrom
crowlKats:tov8-enums
Draft

refactor: use ToV8 on enums instead of serde#31991
crowlKats wants to merge 1 commit intodenoland:mainfrom
crowlKats:tov8-enums

Conversation

@crowlKats
Copy link
Member

@iuioiua
Copy link
Contributor

iuioiua commented Feb 2, 2026

What's the benefit of doing this? Genuine question.

@petamoriken
Copy link
Contributor

It seems to be a continuous progression from the changes in denoland/deno_core#1262. Much like Rust structs, it looks like enums have also become easier to convert to and from V8 values.

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.

3 participants