Hi guys! I am trying to implement simple crud in k...
# ktor
t
Hi guys! I am trying to implement simple crud in ktor and can not find any validations, something like javax.validation. Is it something existing i ktor? Or should I write my own?
t
I had to add it to my gradle deps when I needed it, not sure if there’s other way around it
z
We implement it in a custom feature. Intercept
ApplicationReceivePipeline.After
, grab
subject.value
and run it through your validator instance.