Skip to content

chore: implement serde::Serialize for Either#2209

Merged
Brooooooklyn merged 1 commit into
napi-rs:mainfrom
lbarthon:lbarthon/serde-either
Aug 5, 2024
Merged

chore: implement serde::Serialize for Either#2209
Brooooooklyn merged 1 commit into
napi-rs:mainfrom
lbarthon:lbarthon/serde-either

Conversation

@lbarthon

@lbarthon lbarthon commented Aug 5, 2024

Copy link
Copy Markdown

This adds an implementation of serde::Serialize for all the Either types. Long term, we might want to use the either crate, but for now this makes this implementation usable with serde.

If this sgty @Brooooooklyn - can it be added to napi2? :)

This adds an implementation of serde::Serialize for all the Either types.
Long term, we might want to use the either crate, but for now this makes this
implementation usable with serde.
@Brooooooklyn Brooooooklyn merged commit 164ef2a into napi-rs:main Aug 5, 2024
@lbarthon

lbarthon commented Aug 9, 2024

Copy link
Copy Markdown
Author

Hey @Brooooooklyn - thanks for merging! Can this be added to napi2?

Brooooooklyn pushed a commit that referenced this pull request Aug 10, 2024
This adds an implementation of serde::Serialize for all the Either types.
Long term, we might want to use the either crate, but for now this makes this
implementation usable with serde.
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.

2 participants