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
It looks like the change to mo.Option Value() [Driver.Valuer interface] supports fewer types than it used to, by now calling DefaultParameterConverter.ConvertValue.
It looks like the change to mo.Option Value() [Driver.Valuer interface] supports fewer types than it used to, by now calling DefaultParameterConverter.ConvertValue.
I had some code that was using the output of Value to workaround issues with a validation library, but calling Value() on a
mo.Option[[]int]
type now fails for any slice types other than []byte.ref: https://cs.opensource.google/go/go/+/refs/tags/go1.22.5:src/database/sql/driver/types.go;l=286
I have a workaround in place, but dropping this here in case this was not intended, or to help anyone in the future trying to track this down.
The text was updated successfully, but these errors were encountered: