spring-projects / spring-data-couchbase

Provides support to increase developer productivity in Java when using Couchbase. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-couchbase
Apache License 2.0
274 stars 190 forks source link

Provide vavr (javaslang) support [DATACOUCH-321] #633

Open spring-projects-issues opened 7 years ago

spring-projects-issues commented 7 years ago

Merrick Huang opened DATACOUCH-321 and commented

spring-data-commons 1.13.4 supports vavr as seen here: https://github.com/spring-projects/spring-data-commons/commit/34ce83c657c35cad68cbfea395161e7ec912764f

It would be nice if spring-data-couchbase provided a way for users to benefit from spring-data-commons' support for vavr


Affects: 2.2.4 (Ingalls SR4)

spring-projects-issues commented 7 years ago

subhashni balakrishnan commented

We'll add support for it in kay for collections and option

spring-projects-issues commented 7 years ago

Julien Debon commented

Will it include io.vavr.collection.Stream for async Repository requests? This would be the parallel of support for java.util.stream.Stream

spring-projects-issues commented 6 years ago

subhashni balakrishnan commented

Just including the vavr dependency should make it work. Collections as well stream types are supported on repository methods. Is there a specific support you are expecting? Couchbase operation methods cannot support these types.