You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To provide a nicer subscribe/unsubscribe API in the GraphQL service, we need the following enhancements to the subscription functionality in realm-js:
Ability to unsubscribe by name. There should be no reason to subscribe to something only to later unsubscribe.
Ability to list all active subscriptions. We already have that information in the partial Realm, so there should be no reason not to expose it. I need just the name and the query and not a reference to the subscription instances or anything like that.
A nicer wrapper around waiting for subscription - something like:
Ability to list all active subscriptions. We already have that information in the partial Realm, so there should be no reason not to expose it. I need just the name and the query and not a reference to the subscription instances or anything like that.
IMO we should just expose the __ResultSet as a Subscription. I suspect that trying to do anything else is going to bite us later.
I'm not against that, but if we decide to do that, we should enhance the Subscription interface and add properties for the name and the serialized query. Otherwise it's fairly useless to get a list of these.
To provide a nicer subscribe/unsubscribe API in the GraphQL service, we need the following enhancements to the subscription functionality in realm-js:
The text was updated successfully, but these errors were encountered: