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

Allow creating Vecs of exported enums #3624

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Conversation

cschramm
Copy link
Contributor

Also implements TryFrom<JsValue> and Into<JsValue> for them.

Enums were left behind in #3554. This adds the missing bits.

Also implements `TryFrom<JsValue>` and `Into<JsValue>` for them.

Enums were left behind in rustwasm#3554. This adds the missing bits.
Copy link
Collaborator

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

LGTM!
As the author of the original implementation I'm gonna wait for @Liamolucko's approval.

@daxpedda daxpedda added the needs review Needs a review by a maintainer. label Sep 20, 2023
Copy link
Collaborator

@Liamolucko Liamolucko left a comment

Choose a reason for hiding this comment

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

Thanks!

@Liamolucko Liamolucko merged commit e14a7ad into rustwasm:main Sep 20, 2023
25 checks passed
@SIGSTACKFAULT
Copy link

SIGSTACKFAULT commented Sep 20, 2023

when will this ship? wasm-bindgen hasn't had a release in months. This and #3554 would be really nice to be able to actually use!

@cschramm cschramm deleted the enumvecs branch September 21, 2023 05:12
@daxpedda
Copy link
Collaborator

See #3530.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Needs a review by a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants