Skip to content

Conversation

stampflit
Copy link

@stampflit stampflit commented Aug 10, 2025

fixes #4052

The generated QueryParams struct for the example from the issue is indeed:

type SearchFoodParams struct {
    Food     string
    FoodType *FoodType
}

I wrote a minimal example to verify that this works as intended with sqlc.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🔧 golang labels Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files. 🔧 golang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nullable ENUM Columns use NullEnumType instead of pointer
2 participants