Skip to content

fix(napi-derive): add object_from_js and object_to_js support for enum - #2489

Merged
Brooooooklyn merged 1 commit into
napi-rs:mainfrom
CPunisher:03-01-feat/enum-control
Mar 3, 2025
Merged

fix(napi-derive): add object_from_js and object_to_js support for enum#2489
Brooooooklyn merged 1 commit into
napi-rs:mainfrom
CPunisher:03-01-feat/enum-control

Conversation

@CPunisher

Copy link
Copy Markdown
Contributor

fixes #2479

To reduce the nesting if branches, I put the code generation logic in separate functions.

@Brooooooklyn Brooooooklyn changed the title fix: Add object_from_js and object_to_js support for enum fix(napi-derive): add object_from_js and object_to_js support for enum Mar 3, 2025
@Brooooooklyn
Brooooooklyn merged commit 511b0da into napi-rs:main Mar 3, 2025
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.

how to skip codegen for 'FromNapiValue'

2 participants