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

Fix serde with _option macro bug. #429

Merged
merged 2 commits into from Jun 5, 2020

Conversation

fx-kirin
Copy link
Contributor

@fx-kirin fx-kirin commented Jun 1, 2020

ts_seconds_option like macros have not been applied to serialize_some. Some library like bincode cannot deserialize those values because of this problem.

To reproduce such bug, i leave a github repository here.

#302

@fx-kirin fx-kirin changed the title Fix serde with _option macro issue. Fix serde with _option macro bug. Jun 2, 2020
@quodlibetor
Copy link
Contributor

Thanks for the contribution!

Could you add a test that verifies that this fixes something?

And you'll need to rebase on top of master to get a build fix.

@quodlibetor
Copy link
Contributor

I've added the test and verified. Thanks!

@quodlibetor quodlibetor merged commit bd636d8 into chronotope:master Jun 5, 2020
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

2 participants