Dan Price

Results 33 comments of Dan Price

@jcamiel unfortunately it's not a piece of open source that I can share. It's an API gateway to support a single enterprise customer, mapping an older version of an API...

@ScottyFillups your solution has worked well for me. It seems nice to be able to fold the database connection inside the Querier, so that there's only one thing to pass...

@fabricereix The responses in this case are for a very typical REST API. Just to give one example from about 6 that I have: We're getting a list of information...

> Hmm, I wasn't aware that we could omit the field name if there was only one field. Also, the golang/go#12854 PR would make it much simpler, but I still...

> Your example is already somewhat more verbose than necessary. It can be written today as: @bcmills @thakkarparth007 FWiW I finally got around to trying this, and `go vet` flags...

@dsnet, I recently read most (but not all) of golang/go#19412, and it seems: - There's not any sort of concrete plan to go forward with that proposal. - It would...

@danthegoodman1 I think that what you are hitting here is a problem with the use of the token `offset`-- which is also reserved in SQL (i.e. `LIMIT` and `OFFSET`). I...

There are two open MRs for this, see https://github.com/kyleconroy/sqlc/pull/1582 and https://github.com/kyleconroy/sqlc/pull/1485

For what it's worth, I think this change is much scarier than the previous one I submitted, in https://github.com/labstack/echo/pull/2227, but the overall thrust is the same. Totally understand if this...

Ok, I think I misunderstood what that code was trying to do. I'll take another lap.