Kyle Gray

Results 180 comments of Kyle Gray

The plugin package won't be moved in this repository, but it is exported in the https://github.com/sqlc-dev/plugin-sdk-go package, which should be used when building sqlc plugins in Go. That package is...

Really excited to see this one happen as well. I was going to use https://github.com/jeremyevans/sequel to power it, but honestly haven't put too much thought into the design. Can't wait!...

Also related to #755

@bgentry Thanks for kicking off the conversation. I agree with you that this is a hacky solution, but I think we can figure out a solution. To confirm, when writing...

@encendre thanks for the feature request. You're suggestion fixes a few of the issues we discussed when this first came up in #155. I'd ask you the same question I...

We're planning on adding support for this if the "range over func" proposal is accepted: https://github.com/golang/go/issues/61405

Range over func will be enabled by default on Go 1.23, so we're now unblocked from the Go side of things.

I found this article really helpful in understanding how to range over functions in Go 1.23 https://eli.thegreenplace.net/2024/ranging-over-functions-in-go-123/

Is this still an issue with `pgx/v5`? I don't have a way to reproduce this issue, so if you're still seeing this with v5, please add a schema and query.

A `sql.NullString` slice, paired with `pq.Array` works correctly. ```go type Foo struct { ID sql.NullString Tags []sql.NullString } ```