-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relationships without included resources are decoded to NSNull #33
Comments
Hi @galsh83 , There was an issue regarding this same thing: #18 We added support for this with flag Hope this helps, |
Thanks for the quick reply. It seems that the Japx version Cocoapods resolved to install in my project is 2.0.2 because of another pod depending on an older version of Alamofire, so I didn't get the The relationships resources now decode to pairs of For the example I gave above, the decoding result is:
Thanks for your help! |
@Truba should I create a separate issue for missing meta & links? |
Hi @galsh83 For example, we can have What do you think? |
Hi, |
Expected Behavior
Resources with relationships that are not included in the document should be decoded without losing the data that's specified in the relationship
Actual Behavior
The relationship key is set on the decoded dictionary, but the value is NSNull
Steps to Reproduce the Problem
The following code reproduces the issue:
The text was updated successfully, but these errors were encountered: