Closed
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
Currently, an error is thrown when setting a field name with underscore prefix in Parse.Object.set
. Historically that made sense as these are Parse Server-internal fields. However, with the introduction of access scopes, internal fields can be read from and written to.
Feature / Enhancement Description
The Parse JS SDK should allow sending internal fields to Parse Server, which will then handle the request accordingly. This may not only be relevant for Parse.Object.set
but also for Parse.Query
conditions on internal fields.
Example Use Case
const obj = new Parse.Object('Test');
obj.set('_internalField', value);
Alternatives / Workarounds
Make a REST API request to avoid the Parse JS SDK restriction.