-
Notifications
You must be signed in to change notification settings - Fork 192
Support PersistTo, ReplicateTo and DurabilityLevel attributes on Document annotation. #1486
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
Comments
All the options are set with the fluent APIs. Just look a little further down that class at the two withDurability() methods. Line 129 in 34f9601
Line 136 in 34f9601
|
Hi @mikereiche To use the fluent methods you mentioned, I would have to define the methods myself in my own repository (which is the approach I am taking). My question/suggestion is that if This way, it would be transparent to the developer. Thank you |
So you're asking to add an attribute to the @document annotation. (like Expiry). We can do that. |
Hello
In some operationSupport, the values of PersistTo, ReplicateTo or DurabilityLevel are not configurable and the value NONE is always being used.
spring-data-couchbase/src/main/java/org/springframework/data/couchbase/core/ReactiveReplaceByIdOperationSupport.java
Lines 45 to 50 in 34f9601
spring-data-couchbase/src/main/java/org/springframework/data/couchbase/core/ReactiveRemoveByIdOperationSupport.java
Lines 49 to 54 in 62feffa
Is there any plan to support these values?
Thank you very much in advance
The text was updated successfully, but these errors were encountered: