Fixed issues #926, and #928.#942
Conversation
Added JsonConverter attributes to properties.
|
FWIW, I like this approach, will fix the serialization issue in a non-breaking way. The public API will keep integers until we can figure out if the change from Spotify is intentional or not. |
|
There are a few ways to handle the failing check. Either, update the attribute tag to: or Change the converter. I believe that the latter would a better appraoch. The simplest implementation would be: |
|
AFAIK, |
|
I just tested my use of the api. I can confirm that the double to int works
for durationMs.
I removed double to int and it threw the serialization exception.
…On Fri, Jan 26, 2024, 2:25 PM Jonas Dellinger ***@***.***> wrote:
AFAIK, DurationMs is not a double/int problem. It's encoded in an object,
see discussion in #926
<#926>
—
Reply to this email directly, view it on GitHub
<#942 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7XGLOLZ5FTL6HO5QY4XHLYQQNLPAVCNFSM6AAAAABCHQMK52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSG4YTMMBTG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Do you have local tracks in the playlist? I think that's the only case where we see objects in the |
|
Hello, Is this going to be merged soon or do we still have lingering issues? |
|
Will be merged soonish, couple of days max, need to do some additional testing. |
Added a double to int Json Converter and added attributes to impacted properties.