-
-
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
select() constraint is not applied to included objects #1567
Comments
Also select works when i am not expanding any pointer fields. |
Can you include more information, such as example responses that clearly show the difference? Please refer to this issue for an example of a great bug report. |
I got same issue with Parse Server, when migrating from Parse.com. This works fine for getting whole sender fields of a message, where sender is Parse.User object.
But if I restrict select parameter to 'sender.phone' from 'sender' like this,
no sender information is acquired. parse-server@2.2.13 |
really a big issue, can only work around on cloud side now. |
I have the same problem. It worked great on parse.com, but not on the parse server. |
It seems like the issue is clear at this point: the select() constraint on Parse Server only works for fields on the top level object. It seems like there's interest in replicating parse.com's select() behavior on Parse Server. If someone wants to send a PR to add this enhancement to Parse Server we can take a look. |
+1 |
* Reproduction for #1567 * Recursive handling of nested pointer keys in select * Better support for multi-level nested keys * Adds support for selecting columns natively (mongo) * Support for postgres column selections * Filter-out empty keys for pg
I'm still having trouble with this same issue. Was this ever addressed? |
@dbloembe please open a new issue with all relevant informations |
I am running this same query from parse.com and on my local parse server .
Channeld is pointer field to my other document.
On parse.com server this query works and return result with only exchange field and on parse-server it selects complete channelId document and prints everything.
The text was updated successfully, but these errors were encountered: