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
Parse Cloud Function validation field constant
sets request.object's field to request.original. Wouldn't it be better to use Parse.Object's function .revert
, to clear pending operations on these keys, rather than setting it?
Feature / Enhancement Description
I propose changing this block to:
request.object.revert(key);
if (request.object.get(key) == null &&opt.default != null) {
request.object.set(key, opt.default);
}