Closed reshadf closed 5 months ago
This looks to just be a use-case I never came across so I didn't realize it wouldn't work. I think the sensible behavior is the behavior you expected, so I'll fix this as a bug.
Thank you so much!
Fixed in the 5.3.1 release.
I have an issue that I am not able to resolve. I have the following Resource
typealias BookResource = ResourceObject<BookDescription, BalanceMetadata?, NoLinks>
When I use the resource as main resource and have the balance metadata included in the json it works.
However, In a different call I also use this resource (as an include) where the metadata doesn't exist. I would assume it gets ignored when decoding if it's not there. However, it still tries to decode it.
Is this a bug or is it intended to work like this?