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
Would it be possible to implement the storage of attributes of any type similar to what the Yjs package does? For example, you can see Yjs's implementation here:
Currently, more complex attributes from the Yjs package are arriving in the pycrdt package as strings, making it impossible to retrieve them properly. Check the details in the following references:
Problem
Would it be possible to implement the storage of attributes of any type similar to what the Yjs package does? For example, you can see Yjs's implementation here:
https://github.com/yjs/yjs/blob/8dc1296a0bd15e70c573160593c2617e0d772f01/src/types/YText.js#L1235-L1268
Currently, more complex attributes from the Yjs package are arriving in the pycrdt package as strings, making it impossible to retrieve them properly. Check the details in the following references:
pycrdt/python/pycrdt/_pycrdt.pyi
Lines 300 to 307 in 2518513
pycrdt/src/xml.rs
Lines 76 to 94 in 2518513
Additional context
Here is an example of an attribute that I find difficult to retrieve properly due to the various possibilities of values and data organization:
The text was updated successfully, but these errors were encountered: