-
-
Notifications
You must be signed in to change notification settings - Fork 648
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
[question] how to merge a diff when something has changed #170
Comments
I think I figured this out as best I can as a workaround I made a function quickLoad which is similar to quickSave, which I export from the self executing function I think call quickLoad when I get a sub event from the server I think this is 1/2 the way there, I'll report back when I have merge working |
I realized that all these questions are answered here: #136 I currently have realtime merges with own DAV backend and pubsub working with my new open source project NosDAV. It's really nice, I even have an AI bot helping to co create mind maps. Currently I've hacked it together, but I will follow the instructions to integrate it more into the code base and/or make a new backend, if that's a good idea. |
I was going through some of the code
I was impressed by the logic in the code that allows for the merging of a diff when there are changes in Firebase. I am hoping to do something similar with a pub/sub protocol that I am working on and would like to know if there is a straightforward way to trigger a GET and MERGE for a changed resource.
For the time being, a document reload or refresh might work well enough. I would appreciate any help or guidance on this.
My logic would be:
The text was updated successfully, but these errors were encountered: