-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently packets look like
[7, [["data", "goes", "here"]]]
. Should we change MsgPack to look like
["login", "data", "goes", "here"]
?
Pros:
- Order of enum variants doesn't matter. Clients won't break every time I add a variant.
- Easier to get right and more difficult to get wrong.
Cons:
- Larger in size.
- Possibly more difficult to decode in strongly typed languages that aren't Rust.
Will this completely break any existing library?
Not as I'm aware. synacrb and goSynac can supposedly both be changed to the other format without too much pain.
ttofis and LooMaclin
Metadata
Metadata
Assignees
Labels
No labels