Closed donpaul120 closed 1 day ago
I must admit, I do not understand the request. Do you?
Hello @nlochschmidt ,
let me give you a small example of what @donpaul120 probably means. I have the following java class and want to validate this class with your awesome library:). Unfortunately, the required property must be called with a KProperty<*> type. Is there any way to get the KProperty of a java field or do you have another way to validate java classes without reflection in your project?
Thanks for your quick reply and best regards Henni
Aha, so the need is to validate the return value of some method on the class to be validated.
Sounds very different to the original question and definitely not possible as of today as konform is geared towards validating data classes.
I will consider supporting this, but contributions are welcome.
Would be fixed by https://github.com/konform-kt/konform/pull/65
Fixed by #65, will be included in 0.7.0
Are there any solutions/updates to this question?