What is the plan regarding improving error handlin...
# serialization
m
What is the plan regarding improving error handling? E.g. when sending a JSON request to a ktor server all it can do is respond with an error message like
Strict JSON encountered unknown key: title\nYou can disable strict mode to skip unknown keys
. That's not very helpful for the developer implementing the API client because they don't know the full JSON path and/or location where the problem has occurred. Also it communicates implementation-specific information in the message which you don't want to report to clients. More useful would be something like
Unexpected property 'title' in 'request.posts[0].author' at offset 123
.
👍 3
c