In Netable's current setup, you cannot provide a custom jsonKeyDecodingStrategy within a request when you are also using SmartUnwrap. It throws this error (example from trying to decode User):
Decoding Error: Resource Extraction Error: The raw result could not be turned into the final resource: Failed to unwrap type User from SmartUnwrap response. Couldn\'t decode object for key user.
`
The reason is that we literally didn't add the check within the SmartUnwrap request:
In Netable's current setup, you cannot provide a custom
jsonKeyDecodingStrategy
within a request when you are also usingSmartUnwrap
. It throws this error (example from trying to decode User): Decoding Error: Resource Extraction Error: The raw result could not be turned into the final resource: Failed to unwrap type User from SmartUnwrap response. Couldn\'t decode object for key user. `The reason is that we literally didn't add the check within the SmartUnwrap request:
We need to add support to allow this!