alanjames1987 / marilyn

Marilyn is a client side, Socket.IO driven, Pub/Sub, model layer with a query system similar to Mongoose.
MIT License
114 stars 3 forks source link

Bug: Save and Update Receive Callback #26

Closed alanjames1987 closed 9 years ago

alanjames1987 commented 9 years ago

Very similar to #19.

When calling the update method of a model the receive callback get passed an array of objects that were updated.

When calling the save method the receive callback get passed the one object that got updated.

This should be made consistent. Update receive callbacks should always get an array and save should always get a single object.

alanjames1987 commented 9 years ago

Fixed in v0.16.3.