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

recognize core booleans in is_bool() #3

Merged
merged 4 commits into from
Aug 2, 2024
Merged

Conversation

karenetheridge
Copy link
Member

No description provided.

@karenetheridge karenetheridge force-pushed the ether/core-bools branch 3 times, most recently from 609baa9 to 8fb6ded Compare June 12, 2024 17:02
@haarg
Copy link
Member

haarg commented Jun 14, 2024

A concern here is that depending on the version of Cpanel::JSON::XS, is_bool may return true for a value that does not get encoded as a boolean.

@karenetheridge
Copy link
Member Author

karenetheridge commented Jun 14, 2024

Yes. I noted that in the Changes entry. Force-requiring the latest version is probably too much though? Maybe not if combined with a perl version check.

@karenetheridge
Copy link
Member Author

I bumped the minimum Cpanel::JSON::XS version on perls that have builtin, to ensure serialization works correctly.

@karenetheridge karenetheridge merged commit c337493 into master Aug 2, 2024
@karenetheridge karenetheridge deleted the ether/core-bools branch August 2, 2024 17:17
@gurnec
Copy link

gurnec commented Aug 2, 2024

Hi! Just thought you should know that these two tests are failing for Perl 5.34:

d71ee63#diff-3d48725130685ec3a9f564d8ee75b7a15d869fc2751d652803a593804b73e806R39-R40

I presume they should be moved up to the prior SKIP block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants