mattkrick / cashay

:moneybag: Relay for the rest of us :moneybag:
MIT License
453 stars 28 forks source link

Support updating docs via subscriptions #83

Closed mattkrick closed 8 years ago

mattkrick commented 8 years ago

Taking a page out of the DDP books, updating subscriptions involves sending 2 fields down the pipe:

  1. modified doc with just the updated fields
  2. a removedFields array includes fields that we should remove.

How the server gets those to us is on you, just give em to Cashay & it'll do the rest