surrealdb / surrealdb.go

SurrealDB SDK for Golang
https://surrealdb.com
Apache License 2.0
231 stars 62 forks source link

Add support for handling diffs (in live query responses) #81

Closed phughk closed 9 months ago

phughk commented 1 year ago

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

This is different to handling live query notifications, described here: https://github.com/surrealdb/surrealdb.go/issues/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 1 year ago

Reference protocol implementation in javascript https://github.com/surrealdb/surrealdb.js/pull/151

emilaleksanteri commented 11 months ago

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

phughk commented 11 months ago

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

Atoo35 commented 9 months ago

Can close this