You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying the live query with diff params set to true.
It works but the patch I'm receiving is not a JSON patch as stated in the doc (which would be useful).
I get patch like this {op: "change", path: "/value", value: "@@ -1,3 +1,3 @@↵-301↵+439↵"}]
I could write a custom patch / diff method but JSON patch is probably better (sorry If I'm missing the point)
Steps to reproduce
Very simple. Just using js sdk with something like await db.live( , cb, true);
Expected behaviour
Receive a correct patch (op: "replace" vs "change")
Describe the bug
I'm trying the live query with diff params set to true.
It works but the patch I'm receiving is not a JSON patch as stated in the doc (which would be useful).
I get patch like this {op: "change", path: "/value", value: "@@ -1,3 +1,3 @@↵-301↵+439↵"}]
I could write a custom patch / diff method but JSON patch is probably better (sorry If I'm missing the point)
Steps to reproduce
Very simple. Just using js sdk with something like await db.live( , cb, true);
Expected behaviour
Receive a correct patch (op: "replace" vs "change")
SurrealDB version
1.0
SurrealDB.js version
0.11
Contact Details
chemise-aneroide0h@icloud.com
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: