surrealdb/surrealdb.go

Add support for handling diffs (in live query responses)

phughk opened this issue · 4 comments

phughk commented

Add support for handling DIFF type responses in live query notifications.

This is different to handling live query notifications, described here: #80

The notifications from live queries can return either the full document after modification (creation, update, delete), or they may instead send the diff which resembles a git diff to the document.

This ticket is about handling that functionality.

phughk commented

Reference protocol implementation in javascript
surrealdb/surrealdb.js#151

Is this issue still available? Saw that the live queries are addressed #88

phughk commented

Hey @emilaleksanteri ! Yes this is still available :) If you would like to take it up, then happy to assign you to the ticket

Can close this