You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like we can't just use golang standard types (net.IP, net.HardwareAddr, json.RawMessage...) since they don't properly implement Scan. There are a bunch of opensource driver that already fixed this such as pgtype.
The net.IP portion of this has been addressed in #1142. The JSON portion is a duplicate of #129. Don't worry though! The JSON side of things will also be fixed in v1.10.0
Table is created with the following query:
Generated query will be:
Then when I call the query I got this error when calling
CreateExample(ctx, uuid.New())
:EDIT: replace
inet
withjson
and the same issue happens. More types might be involved.The text was updated successfully, but these errors were encountered: