Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
types: support multi-format deserialization for HgId
Summary: Switch from the default tuple deserialization which only understands the tuple format, to "bytes" deserialization, which understands not only the existing "tuple" format (therefore compatible with old data), but also "bytes" and "hex" formats (for CBOR). This will unblock us from switching to bytes serialization in the future. Note: This is a breaking change for mincode serialization. Mincode + HgId users (zsotre, metalog) have switched to explicit tuple serialization so they don't use the default deserializaiton and remain unaffected. Reviewed By: kulshrax Differential Revision: D23966995 fbshipit-source-id: 83dd53f57bd4e6098de054f46a1d47f8b48133d0
- Loading branch information