reactivecouchbase-rs-core
reactivecouchbase-rs-core copied to clipboard
Feature Request - Sub-Document API
Couchbase recently introduced the sub-document API, which allows users to patch nested document structures within a Couchbase document. I'd love to see this in Reactive Couchbase
https://developer.couchbase.com/documentation/server/current/developer-guide/sub-doc-api.html
I've already tried to add support of Play Json for sub-document API in a private branch. However, to do this I've copy-pasted code, responsible for integration with Jackson from play-json. The reason why I've done this is that Couchbase driver ships with Jackson under custom namespaces :(. So to integrate with it properly you need to change all the namespaces, what I actually have done. Do not think that this solution is any good, so we can open discussion here.
@igorynia interesting. Mind sharing the branch you tried this with so I can provide some thoughts?
Okay, I will do that tomorrow
Please take a look https://github.com/igorynia/reactivecouchbase-rs-core/commit/650e2192af98f91b3625f039493d92330cd501ab
Hi guys, I exposed some new API about sub document (list, queue, set, map, mutateIn) but it's still very raw and it still expose raw couchbase driver APIs.
I will provide better API later, but I need to figure out how to do it properly