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?
[X] I have searched the existing issues
Code of Conduct
[X] I agree to follow this project's Code of Conduct
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