https://kotlinlang.org logo
#ktor
Title
# ktor
r

ribesg

05/31/2023, 1:45 PM
Is there no way to make RequestValidation plugin and request payload deserialization work better with each other? Like if I have a String field that I require not to be empty, the RequestValidation plugin produces a nice error, but if the field is missing from the payload it's just a deserialization error instead. How do you combine that not in an ugly way?