Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending _scenario #7

Open
bobmanc opened this issue Oct 16, 2015 · 0 comments
Open

sending _scenario #7

bobmanc opened this issue Oct 16, 2015 · 0 comments

Comments

@bobmanc
Copy link

bobmanc commented Oct 16, 2015

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant