Hi!
I’m looking to create a ValueExtractor for validation and been following documentation here: ValueExtractor (Jakarta Bean Validation API 2.0.2)
The class in Java requires @ExtractedValue
annotation on the type parameter:
class ListValueExtractor implements ValueExtractor<List<@ExtractedValue ?>> {
Is there a way to do the same in Kotlin?
This doesn’t seem compile saying ‘Type Expected’ next to *
:
class ListValueExtractor : ValueExtractor<List<@ExtractedValue *>> {
Thank you!