Closed bplunkett-stripe closed 1 year ago
Upgrade sqlc to v1.18.0.
All of the name columns (really an alias for varchar) sqlc generated code used the go type interface{}. Manually casting it to ::TEXT fixed the code gen. I opted to use ::TEXT rather than ::VARCHAR because it's slightly more flexible 🤷♂️
name
interface{}
::TEXT
::VARCHAR
Upgrade sqlc to v1.18.0.
All of the
name
columns (really an alias for varchar) sqlc generated code used the go typeinterface{}
. Manually casting it to::TEXT
fixed the code gen. I opted to use::TEXT
rather than::VARCHAR
because it's slightly more flexible 🤷♂️