tarantool / go-tarantool

Tarantool 1.10+ client for Go language
https://pkg.go.dev/github.com/tarantool/go-tarantool/v2
BSD 2-Clause "Simplified" License
180 stars 57 forks source link

crud: allow interface{} as values for *ManyRequest #375

Closed oleg-jukovec closed 7 months ago

oleg-jukovec commented 7 months ago

It was a mistake to use []interface{} or []msgpack.CustomEncoder as types for an array of tuples or an array of objects. Users were unable to use slices of custom types as incoming values.

The patch now allows the use of interface{} as incoming values. It makes it easier to use the API, but users need to be more careful. Therefore, we have also added examples.

Closes #365