parse-server
parse-server copied to clipboard
fix: `Parse.Query.distinct` fails due to invalid aggregate stage 'hint'
trafficstars
Pull Request
- Report security issues confidentially.
- Any contribution is under this license.
- Link this pull request to an issue.
Issue
Closes: #8804
Approach
When directAccess is set to true and a distinct query is made within an eachBatch query an Error: Invalid aggregate stage 'hint'. is thrown.
Tasks
- [ ] Add tests