https://kotlinlang.org logo
#akkurate
Title
# akkurate
j

Johann Pardanaud

10/16/2023, 12:16 PM
Hi! Its been quite some time since the last release, because the new one is about a complex subject: Generics! Akkurate 0.3.0 is now available and brings essentially two things: • Full support for generic types. You were already able to apply constraints on generic types (like
List<String>
) but now you can also create a generic class and apply the
@Validate
annotation on it. • Built-in accessors for basic Kotlin types. Now you can easily access and validate properties of many Kotlin types. You want to access the keys of a
Map
? Just write
keys
and apply the constraints you want on it. A lot of new ideas came to me while working on this release, expect a roadmap update soon!
K 3