Closed umerov1999 closed 1 year ago
Hi! Thank you for you PR.
Can you add some description for this? Is there a bug that this PR fixes? If so, can you add some description regarding that bug and if possible a test for it.
Hi! Thank you for you PR.
Can you add some description for this? Is there a bug that this PR fixes? If so, can you add some description regarding that bug and if possible a test for it.
Hi, I attached the archive with test IgnoreUnknowKeys need enable in config
sample.json - this file is messagepack converted to json Test.kt - test decoding [dlg.lastMessage not decoded!]
This is test archive with simulation problem test.zip
Hi, sorry for the long delay.
I just checked out your test and it seems to be working fine after one small update in one of your models.
In VKApiMessage
out
is defined as a boolean, but it is an integer in the JSON you sent. Parsing fails there, so changing it to a numeric type makes this work.
My bad, when changing to ignoreUnknownKeys
it is null
as you reported.
Fix will be released in 0.5.4
fix class decoder