Currently, when we have a class with 2 or more non...
# jackson-kotlin
r
Currently, when we have a class with 2 or more non nullable fields
class Foo(val baz: String, val bar: Int)
if request will be with null
{"baz": null, "bar": null}
it will fail on first parameter, but on response the client want all possible errors at once What do you think about to put these classes in separate module and disable Kotlin intrinsics
kotlinc -Xno-call-assertions -Xno-param-assertions
In this case constructor will not throw exception, and validation will be done usign @NotNull annotation?