Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I hereby propose to add uuid as an additional built-in basic type.
Rationale:
- Uuids (or Guids) are a state of the art and well-understood way to identitify data entities.
- There is support in next to all languages' runtimes to generate, convert and store such data.
- Although conversion to and from string or binary is certainly possible, it is also rather cumbersome.
- A distinct datatype enables us to sent it in the most suitable way across the wire: JSON=text, Compact=binary
Remarks
I am open to discuss the term "guid" vs "uuid". Coming from NET platforms I would tend to guid, but I am open to uuid (or even both) as well. That's just a detail.- If no significant concern is raised, I would move on and implement C#, Delphi and Haxe bindings (as sub-tasks) myself and leave the rest to the community.
Attachments
Issue Links
- incorporates
-
THRIFT-5804 Add uuid support in Lua
- Open
- is a parent of
-
THRIFT-5772 Add UUID support for C++
- Closed
- links to
(2 links to)
1.
|
Add uuid type to IDL and implement reference code | Closed | Jens Geyer |
|
||||||||
2.
|
Update documentation and IDL definition files for uuid type | Closed | Jens Geyer |
|
||||||||
3.
|
Implement uuid for hx | Closed | Jens Geyer | |||||||||
4.
|
SysUtils.TGuidHelper collides with ThriftUtils.TGuidHelper | Closed | Jens Geyer | |||||||||
5.
|
Add UUID support in go | Closed | Yuxuan Wang |
|
||||||||
6.
|
Add UUID support for rust | In Progress | Liu Jiayu |
|
||||||||
7.
|
Add UUID support for Swift | Closed | Kino | |||||||||
8.
|
IDL uuid literals can be improved | Closed | Jens Geyer |
|