offix icon indicating copy to clipboard operation
offix copied to clipboard

Document Specific Subscription

Open Eunovo opened this issue 4 years ago • 2 comments

Feature Request

Allow users to subscribe to local events on specific documents

CC @wtrocki @kingsleyzissou

Eunovo avatar Aug 18 '20 12:08 Eunovo

I tried implementing and ran into some problems:

  • If the document subscribed to, is updated such that it no longer matches the filter you subscribe to then you will no longer receive events
  • providing this functionality will imply that the data in each event always match the filter, this is fine for single updates, but what about batch updates? event.data in batch updates will contain more data than what matches the filter

Eunovo avatar Aug 21 '20 17:08 Eunovo

I think we need filtering to be applied on top of the event so if the element doesn't match filter it will be resolved based on filter

wtrocki avatar Sep 04 '20 11:09 wtrocki