custom serialization of OT types (Nate's proposal)#127
Conversation
|
I just wanted to chime in and say awesome addition @DetweilerRyan. I had recently written a custom OT type and was hoping to be able to keep a deserialized Immutable.OrderedMap client side for rapid React rendering. Once I saw your new pull request I immediately ran some local tests with a modified ot-number type that uses Immutable.Map and it worked beautifully. Very excited about this addition to ShareDB. |
|
Thank you @roark. Glad to hear others are rolling their own ot types. Immutable data structures are a really great fit for ot types. We use Immutablejs for all of our custom ot types at @Retrium. I have to give credit to @xylude who actually implemented @nateps's proposal. All I did was write the tests. |
|
@roark - How can we take a look at the new ot-type? |
This pull request is an attempt to add support for custom serialization of OT types per @nateps elegant proposal as outlined here #108 (comment).