Skip to content

Conversation

advait
Copy link

@advait advait commented Jan 7, 2025

Fixes #3373

I've noticed that we don't use pointer fields (e.g. *json.RawMessage) for generated models, instead preferring explicit fields like sql.NullTime. This PR uses a pointer field.

Working on fixing tests - will mark as ready once tests pass. Thank you!

@advait advait marked this pull request as ready for review January 7, 2025 19:52
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. 🔧 golang labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files. 🔧 golang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NULL JSON field fails to Scan into json.RawMessage
1 participant