dojo / dojo/dojo1-dmodel

sending _scenario

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
30
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Right now if an object is created using dmodel the _scenario property is added. Would it be possible to delete it before it is sent to the server in the put method? My server rejects the call because it can't find an object with _scenario to bind to. Rather than having to add it to all the objects being received it would make sense to delete the property first.
I added this at line 87 of Rest.js and it worked perfectly.
delete object._scenario;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.