https://kotlinlang.org logo
Title
s

Shizo

11/13/2019, 10:52 PM
Hi, could you help me spot the bug? The code here works, but the test fails with a message about invalid json. When i test it with postman and intellij idea's http file everything works. The error message:
Cannot transform this request's content to org.user5145.account.domain.aggregate.Account
https://pastebin.com/LZmcMx1u PS. it uses ktor
t

tseisel

11/14/2019, 8:01 AM
Have you installed the Json Feature ?
s

Shizo

11/14/2019, 8:06 AM
Thanks, that was it. The json feature was in a wrong module that was unavailable during the tests 🙂