-
Notifications
You must be signed in to change notification settings - Fork 108
Description
Bug Report
YDB GO SDK version:
3.127.7
Environment
any
Current behavior:
I get multiple errors: from reflect.Value.Interface: cannot return value obtained from unexported field or method to cannot parse type of *ydbJSON: cannot parse [] as key field of struct: unsupported type at github.com/ydb-platform/ydb-go-sdk/v3/internal/bind.toType(params.go:253) at github.com/ydb-platform/ydb-go-sdk/v3/internal/bind.toValue(params.go:319) at github.com/ydb-platform/ydb-go-sdk/v3/internal/bind.toYdbParam(params.go:514) at github.com/ydb-platform/ydb-go-sdk/v3/internal/bind.Bindings.ToYdb(bind.go:62) at github.com/ydb-platform/ydb-go-sdk/v3/internal/xsql.(*Conn).toYdb(conn_helpers.go:34) at github.com/ydb-platform/ydb-go-sdk/v3/internal/xsql.(*Conn).ExecContext(conn.go:208)
fyi type ydbJSON struct{ Raw json.RawMessage } implements json.Marshaler and json.Unmarshaler
Expected behavior:
sdk use json.Marshaler and json.Unmarshaler interfaces methods
Steps to reproduce:
create JSON or JSONDocument column, try to do requests using database/sql