Skip to content

Ensure type-safe deserialization#417

Merged
Mangara merged 1 commit into
mainfrom
mangara-serialize-total-time
Aug 16, 2023
Merged

Ensure type-safe deserialization#417
Mangara merged 1 commit into
mainfrom
mangara-serialize-total-time

Conversation

@Mangara

@Mangara Mangara commented Aug 16, 2023

Copy link
Copy Markdown
Contributor

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

@sambostock sambostock left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread CHANGELOG.md Outdated
@wandering-tales

Copy link
Copy Markdown

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

Mangara commented Aug 17, 2023

Copy link
Copy Markdown
Contributor Author

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