Add support for Kotlin value classes.
This commit introduces support for Kotlin Value Classes which are designed for a more expressive domain model to make underlying concepts explicit. Spring Data can now read and write types that define properties using Value Classes. The support covers reflection based instantiation of Kotlin inline class, nullability and defaulting permutations as well as value classes with generics. Closes: #1947 Original Pull Request: #2866
This commit is contained in:
committed by
Christoph Strobl
parent
15bb8aa482
commit
80ca2b47ca
@@ -1,3 +1,4 @@
|
||||
org.springframework.data.web.config.SpringDataJacksonModules=org.springframework.data.web.config.SpringDataJacksonConfiguration
|
||||
org.springframework.data.util.CustomCollectionRegistrar=org.springframework.data.util.CustomCollections.VavrCollections, \
|
||||
org.springframework.data.util.CustomCollections.EclipseCollections
|
||||
org.springframework.beans.BeanInfoFactory=org.springframework.data.util.KotlinBeanInfoFactory
|
||||
|
||||
Reference in New Issue
Block a user