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

Ensure type-safe deserialization #417

Merged
merged 1 commit into from
Aug 16, 2023
Merged

Conversation

Mangara
Copy link
Contributor

@Mangara Mangara commented Aug 16, 2023

Fixes #396

#405 appears abandoned, so this re-creates it for both total_time and times_interrupted, just in case.

The new deserialization will raise something like ArgumentError (invalid value for Float(): "bar") when the value cannot be converted properly.

CC @wandering-tales

@Mangara Mangara self-assigned this Aug 16, 2023
Copy link
Contributor

@sambostock sambostock left a comment

Choose a reason for hiding this comment

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

Changelog needs updating, but otherwise seem fine.

CHANGELOG.md Outdated Show resolved Hide resolved
@Mangara Mangara force-pushed the mangara-serialize-total-time branch from aa62c54 to 1734a3e Compare August 16, 2023 20:57
@Mangara Mangara merged commit 7867dc4 into main Aug 16, 2023
30 checks passed
@wandering-tales
Copy link

Thanks a lot @Mangara .

I came back from (long) holidays a couple of days ago and I was planning to resume this. Appreciate that you took care. Awesome!

BTW is the any official release planned or should I keep pinning main branch revisions?

@Mangara
Copy link
Contributor Author

Mangara commented Aug 17, 2023

BTW is the any official release planned or should I keep pinning main branch revisions?

We're planning a new release this week.

@shopify-shipit shopify-shipit bot temporarily deployed to rubygems August 23, 2023 19:41 Inactive
@sambostock sambostock deleted the mangara-serialize-total-time branch February 6, 2024 15:22
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.

Error on serialization/deserialization of total time
3 participants