Open
Description
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.
Metadata
Assignees
Labels
No labels