Hi there 🙂
I'm currently writing a custom feature for ktor, that wraps exceptions in a RFC7807 style problem+json object (https://github.com/tyntec/ktor-problem).
Even if it is in early stage, I wanted to ask if someone would be interested in doing a review / give hints what can be improved.
Many thanks in advance
✔️ 1
a
avolkmann
07/16/2019, 4:58 PM
I noticed you are relying on jackson. Maybe the user could choose how to serialize? If they are already using some content negotiation for json, then it could be reused.
c
coderskitchen
07/16/2019, 7:16 PM
hi! thanks for the comment. You're absolutely right. I adapted the way of working of the ContentNegotiation feature