-
Notifications
You must be signed in to change notification settings - Fork 5
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
DeSerialize data: null is replaced with [] for hasOne relationships #37
Comments
I think this was just a typo, instead of short circuiting to |
Ok, so I was overly optimistic. It seems that js-data and js-data-http both care strongly about the falsinisity of the response from the server. Good old JS treats |
Asked js-data people about this on their slack and they asked me to ask on stackoverflow: |
Can we close this now after merging your changes or is there still an issue? |
Yes, this ticket can be closed. I never got any response from js-data to my |
The DeSerialize function replaces null data with an empty array. This results in an error when loading empty relationships:
The text was updated successfully, but these errors were encountered: