derbyjs / racer

Realtime model synchronization engine for Node.js
1.19k stars 117 forks source link

Do not allow creates or deletes when disableSubmit flag is set #219

Closed rkstedman closed 9 years ago

rkstedman commented 9 years ago

When creating a model with debug flag disableSubmit would expect that no operations performed on that model will actually update data in database. However, currently documents will be created and deleted even if the flag is set.

nateps commented 9 years ago

LGTM. Thanks!