pub fn parse_object_to_mongo_create(
schema: &ClassSchema,
object: &ParseMap,
) -> Result<Document, ParseError>Expand description
parseObjectToMongoObjectForCreate.
Two behaviors that are easy to miss and both wire-visible:
- Relation values are skipped entirely (
MongoTransform.js:468-470). A Relation lives in a join table, not on the object, so a{__type:"Relation"}value in a create body is dropped rather than stored or rejected. ACLbecomes three columns:_rperm,_wperm, and the legacy_aclmirror.