progaudi/progaudi.tarantool

Box.Eval serializes Bin8 property as a Str8 property

MGEHub opened this issue · 3 comments

using this code to insert a user object with a byte[] property:

Box.Eval<TarantoolTuple, string>("box.space.user:insert( ... )", TarantoolTuple.Create(user));

returns "Got Str8 (0xD9), while expecting one of these: Bin8, Bin16, Bin32, Null" when we select the object.
while calling a simple insert:

Space.Insert(user)

is OK when the object is selected.

Selecting with space.select or box.eval returns same result.

Which version of Tarantool do you use?

1.9.1-16-ge9bf00f

Resolved in #139