Skip to content

Support UUID and Decimal types #60

Open
@BokarevNik

Description

@BokarevNik

Hello!
Now decimal and UUID values aren't decoded in packets.
For example, if I have space with one field of type 'uuid', packets which I get from joining with snap like here: https://pkg.go.dev/github.com/viciious/go-tarantool#example-Slave.JoinWithSnap-Sync, look something like this - Request:&tarantool.Insert{Space:0x201, Tuple:[]interface {}{(*msgp.RawExtension)(0xc00037a260)}}
If I get tuple as packet.Request.(*tarantool.Insert).Tuple, it looks like this - [{"Data":"YUKSdM85T7e5ndpKCK3GeQ==","Type":2}].
I want to insert this tuple in tarantool space as UUID, is there any way it's possible?
I saw similar issues for other connector: tarantool/go-tarantool#90, tarantool/go-tarantool#96

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions