Skip to content
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

Pointers leading to empty objects will stop the queries and show results #754

Closed
taufiq-husain opened this issue Mar 2, 2016 · 1 comment

Comments

@taufiq-husain
Copy link

I'm using Swift and I had a reference of an object (Pointer Relation). When I queried for the rows of the parent object using includeKey, it returned all objects but the child object didn't indicate a nil object (as it used to in the usual Parse). In this open source server, it seems that object returns even when there isn't any object available but the code breaks when you try to access that child object. I used a little hack by basically checking if the createdAt attribute (which is available for all objects) is nil or not.

I don't know where the issue arises exactly but I'm fairly sure the code breaks in the iOS SDK and probably in other SDKs too. Just letting you guys know that if you see empty results when only one row's child object is pointing to a deleted object doesn't really mean that ALL rows are empty. Something in the SDK is definitely messing up.

@flovilmart
Copy link
Contributor

That should be fixed by now by #777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants