immutables
immutables copied to clipboard
Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included
This is an awesome library and I use it for both Java and Kotlin. Currently this only works with `kapt` annotation processor for Kotlin on Gradle. However, `kapt` is getting...
With a class like ```java @Value.Immutable public interface Tada { ImmutableSortedSet sortedSet(); ImmutableSet set(); } ``` Following > There's no need to use @Value.Default to return empty collections as collection...
Hi I want to use criteria/jdbc to connect to a mysql or postgresql database, and document said "Define criteria once and apply to different data-sources (Map, **_JDBC_**, Mongo, Elastic etc.)",...
I have problems getting my code to compile with maven. I'm using these dependencies: ``` org.immutables value 2.9.0 javax.validation validation-api 2.0.1.Final org.apache.maven.plugins maven-compiler-plugin 3.8.1 org.immutables value 2.9.0 17 17 ```...
My datamodels are setup as interfaces with a style of `get = {"get*", "is*"}`. The Criteria repository respects these prefixes when writing the data to Mongo, but does not respect...
Hi there, I've started using Criteria with Mongo and I have some questions.. 1) Criteria documentation recommends using old version of reactivestream - [https://mongodb.github.io/mongo-java-driver-reactivestreams/](url), even though there's already version 4.6,...
Hey, - Using MongoDB and Criteria When trying to perform a add/update/delete operation, the WriteResult has 3 fields with null value, doesn't matter if the operation was successful or not....
Hi, looking for the current version is a funny experience, there are at least four different sources for "current" https://immutables.github.io/ -> 2.8.2 https://github.com/immutables/immutables/releases 2.8.8 https://twitter.com/ImmutablesOrg 2.7.3 [MavenCentral](https://mvnrepository.com/artifact/org.immutables/value) 2.9.0 Which one...
Hi, I came up with an issue where a required list in my immutable definition should throw an exception when the incoming JSON doesn't contain a required attribute which is...
Now with Java 16 we finally have java records which are native data holders, but what java records lack is the Builder functionality. It would be nice to add support...