go-tarantool icon indicating copy to clipboard operation
go-tarantool copied to clipboard

Support IPROTO_TUPLE_FORMATS

Open oleg-jukovec opened this issue 1 year ago • 0 comments

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:

  1. https://github.com/tarantool/tarantool/blob/21112b066902338724f4f3671359f3e624b45938/src/box/iproto_features.h#L62-L79
  2. https://github.com/tarantool/roadmap-internal/issues/212

oleg-jukovec avatar Dec 07 '23 12:12 oleg-jukovec