Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getAndLock with cas #24

Open
ruioliveiras opened this issue Nov 7, 2017 · 4 comments
Open

getAndLock with cas #24

ruioliveiras opened this issue Nov 7, 2017 · 4 comments

Comments

@ruioliveiras
Copy link

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 👍

Since the unlock method receive key: String, cas: Long, and getAndLock are not returning that cas.
How can I unlock a key ?

Thank you.

@ruioliveiras
Copy link
Author

Also there are any equivalent thing to bucket.atomicUpdate ?

Thank you

@ruioliveiras
Copy link
Author

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.

@ruioliveiras
Copy link
Author

Would you be open to do a release, if we do a pull request?

@mathieuancelin

@mathieuancelin
Copy link
Member

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._

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants