Skip to content

Conversation

andrewmbenton
Copy link
Collaborator

Resolves #3143

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 11, 2025
@dosubot dosubot bot added the 🔧 golang label Aug 11, 2025
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 11, 2025
@kyleconroy kyleconroy merged commit 0201d70 into main Aug 12, 2025
8 checks passed
@kyleconroy kyleconroy deleted the andrew/fix-go-struct-tag-dbtype-overrides branch August 12, 2025 19:45
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 12, 2025
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
…qlc-dev#4055)

* fix(codegen/golang): handle `go_struct_tag` for `db_type` overrides

Resolves sqlc-dev#3143

* update tests

* properly handle nullable and other db_type match parameters

* and update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang

Projects

None yet

Development

Successfully merging this pull request may close these issues.

custom struct tags are not emmited

2 participants