-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception occurs when inserting nested Maps into document #99
Comments
Thanks a lot. This does not seem to be a problem with YDotNet, but with y-crdt, the rustl library. If you have experience with rust, it would be great if you could reproduce it there. |
You probably won't reproduce it directly in rust (we have a lot of tests to confirm that working on nested collections work). We could try to check it out at the yffi level (C FFI bindings to Rust). Sometimes issues happen on that level. |
Thanks for feedback @Horusiath . I would wait for this PR, because it changes a lot anyway: #94 |
Sorry for the slow update, I'm new to Rust and it's been quite a few years since I've done any c++ so there may be some mistakes in the code snippets below.
I hope that is useful let me know if there is any more I can do to help. |
Thanks a lot for your effort :) Could you report this to the main repository? The last time I have coded C++ was around 2010 ;) |
@LSViana It seems that it has been solved. I can work on that. |
When attempting to insert a more complex nested map into a document the following exception occurs:
The following test case can be used to reproduce the issue:
In case it makes a difference I'm using the YDotNet.Native.Win32 native library.
Please do let me know if this is not the best approach to creating nested data structures as I'm relatively new to this library.
Thanks
The text was updated successfully, but these errors were encountered: