Skip to content

fix: database/sql Nullable(JSON) string scan#1625

Merged
SpencerTorres merged 1 commit intomainfrom
stdlib_json_nullable_fix
Jul 30, 2025
Merged

fix: database/sql Nullable(JSON) string scan#1625
SpencerTorres merged 1 commit intomainfrom
stdlib_json_nullable_fix

Conversation

@SpencerTorres
Copy link
Copy Markdown
Member

Summary

The ptr boolean was being ignored in JSON's Row function, which meant that Nullable(JSON) would fail to scan when using string serialization with database/sql interface. Very specific conditions, but it's fixed now.

Checklist

  • Unit and integration tests covering the common scenarios were added

@SpencerTorres SpencerTorres merged commit 6b6b5b2 into main Jul 30, 2025
13 checks passed
@SpencerTorres SpencerTorres deleted the stdlib_json_nullable_fix branch July 30, 2025 09:54
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