Skip to content
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

About subdocuments #526

Open
ImSingee opened this issue Apr 20, 2023 · 2 comments
Open

About subdocuments #526

ImSingee opened this issue Apr 20, 2023 · 2 comments

Comments

@ImSingee
Copy link

ImSingee commented Apr 20, 2023

Related: #234

In fact this is a very useful feature, but (I can’t even know why) there’s no providers implement it.

There’re few discussions about this. Is there any plan about this feature? If desired, I want to create a series PR to some providers to bring them the subdocuments function.

Huly®: YJS-407

@himself65
Copy link
Contributor

We have implemented subdoc provider

see https://github.com/toeverything/AFFiNE/tree/master/packages/y-indexeddb

https://github.com/toeverything/blocksuite/blob/master/packages/store/src/providers/async-call-rpc.ts

@joakim
Copy link
Contributor

joakim commented Dec 8, 2023

For others reading this… the first link is 404, but can be found here. It's available as @toeverything/y-indexeddb.

And @himself65 is also working on this alternative indexeddb provider that has subdoc support: y-idb

These can help serve as examples for other providers looking to support subdocs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants