reactivecouchbase-rs-core
reactivecouchbase-rs-core copied to clipboard
getAndLock with cas
Hi, currently i'm updating from the 0.5 version the version 1. Was a very good idea to give direct access to the couchbase with the underlyingBucket :+1:
Since the unlock method receive key: String, cas: Long, and getAndLock are not returning that cas.
How can I unlock a key ?
Thank you.
Also there are any equivalent thing to bucket.atomicUpdate ?
Thank you
an other question, you explain here: http://reactivecouchbase.org/#what-if-i-want-to-use-a-json-lib-other-than-play-json- There are any integrated way of doing it using the json from play ?
I appreciate your collaboration. Thank you.
Would you be open to do a release, if we do a pull request?
@mathieuancelin
Hi @ruioliveiras
Sorry I didn't saw your message before today.
About cas stuff, the API seems broken indeed and I'll be happy to accept your PR :)
About Play Json, it's the standard way provided by reactive-couchbase, just import the following
import org.reactivecouchbase.rs.scaladsl.json._
import play.api.libs.json._