-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Limit on number of 'include' statements ? #195
Comments
I don't see any limits being imposed on this, in |
montymxb
pushed a commit
to montymxb/parse-server
that referenced
this issue
Feb 14, 2016
Adding the types of parameters in PaseHooks class
#426 see if this is your case. |
This was referenced Dec 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've began the tedious process of migrating over to a self-hosted Parse 'stack' and have ran into an issue where 'include' statements are ignored if more than 10 are included.
I'm using a locally hosted MongoDB and a local v2.0.5 instance of 'parse-server' and interacting with it via the v1.1.10 PHP SDK. Example code below:
The above works fine, outputting
Name from pointer is: Jeff
However adding an additional include causes the above code to throw an exception:
ParseObject has no data for this key. Call fetch() to get the data.
Is there a hard limit imposed for the number of includes allowed or is this unintentional (this code executes successfully on a Parse hosted instance)?
EDIT: It also seems that if you try to include a field that has already been included that points to the same record it causes that record to not be included at all.
Example:
If
field1
andfield7
point to a record in the_User
class with anobjectId
offuvNKdxHKo
and you include both fields, that object will not be included. Accessing a field within that pointer will throw an exception.The text was updated successfully, but these errors were encountered: