-
-
Notifications
You must be signed in to change notification settings - Fork 600
Closed
Labels
state:releasedReleased as stable versionReleased as stable versiontype:ciCI related issueCI related issue
Description
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
The Parse.Query.readPreference condition is missing in the output of Parse.Query.toJSON().
Steps to reproduce
const q = new Parse.Query('Test');
q.readPreference('NEAREST');
const json = q.toJSON();
Actual Outcome
The returned JSON does not contain the read preference, but it does contain other conditions like Parse.Query.limit, etc.
Expected Outcome
Parse.Query.toJSON()should contain the read preference condition.Parse.Query.fromJSON()should correctly parse the read preference condition.
Environment
Server
- Parse JS SDK version:
6.0.0-alpha.2
Metadata
Metadata
Assignees
Labels
state:releasedReleased as stable versionReleased as stable versiontype:ciCI related issueCI related issue