You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you mean the RawString type from the javascript @automerge/automerge/next package? If so there would be nothing to do in this package I think. The equivalent of RawString in autosurgeon is String.
However, with the advent of automerge/next more people will be using Text (as in the RGA text CRDT in automerge) where previously they would have been using String and we might want to introduce equivalent functionality in autosurgeon. One way to do that would be to extend the autosurgeon attribute for strings like this:
In general I think we should be using newtypes which implement Hydrate/Reconcile to achieve this kind of thing but for string specifically this feels like it might be worth it given that it is so ubiquitous?
Yes that's exactly what I mean, thanks! Just trying to get ahead of that change and know what would need to be done and documented for automerge/next or automerge3 or whenever it lands.
I think we want to migrate many types to RawText in Automerge 3.
What are they? How should that migration happen?
The text was updated successfully, but these errors were encountered: