go-tarantool
go-tarantool copied to clipboard
Support IPROTO_TUPLE_FORMATS
Now tuples are decoded into structures according to the order of the fields in the structure. We need to support tuple format in IPROTO features to decode tuples into structures based on field names (or msgpack/v5
labels) in the structure.
This will allow users not to change the code when changing the space scheme (within reasonable limits).
See:
- https://github.com/tarantool/tarantool/blob/21112b066902338724f4f3671359f3e624b45938/src/box/iproto_features.h#L62-L79
- https://github.com/tarantool/roadmap-internal/issues/212