Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 7, 2025

This is a minimal change to address DRIVERS-3095. The "inf" and "-inf" strings are replaced with extjson double Infinity and -Infinity. No other changes are made. Drivers may not require any changes, if their comparison code is already safe to use with non-finite double inputs. Drivers may be able to remove workarounds.

@ghost ghost self-requested a review as a code owner March 7, 2025 19:19
@ghost ghost requested review from alcaeus and removed request for a team March 7, 2025 19:19
@ghost ghost requested review from matthewdale and removed request for alcaeus March 7, 2025 19:36
Copy link
Contributor

@matthewdale matthewdale left a comment

Choose a reason for hiding this comment

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

Confirmed unmarshaling this as Extended JSON works with the Go Driver: https://goplay.tools/snippet/Row1gYuokbl

Looks good! 👍

@ghost
Copy link
Author

ghost commented Mar 10, 2025

Thanks for the review!

@ghost ghost merged commit ccd72de into mongodb:master Mar 10, 2025
5 checks passed
@ghost ghost deleted the DRIVERS-3095 branch March 10, 2025 18:52
This pull request was closed.
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.

1 participant