parse-server
parse-server copied to clipboard
Add 'include' and 'excludeKey' to user endpoints
New Feature / Enhancement Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am not just asking a question.
- [x] I have searched through existing issues.
Current Limitation
Some user endpoints like login/signup and retrieving current user ("users/me") do not support basic query parameters such as 'include' and 'excludeKey'.
For example https://parseserver.com/parse/users/me?include=className would return the same response exactly as https://parseserver.com/parse/users/me
I believe this behavior also happens in the login/signup endpoints.
Feature / Enhancement Description
Add support for these keys in these endpoints.
Example Use Case
You may have a user that has a pointer to some class and you want to retrieve that pointer's field data along with the user..
Alternatives / Workarounds
There are none
3rd Party References
-
Thanks for opening this issue!
- 🎉 We are excited about your ideas for improvement!
Related: https://github.com/parse-community/parse-server/issues/288 https://github.com/parse-community/parse-server/pull/4845