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
As a headless platform, I believe vendure would greatly benefit from an idiomatic way to register new graphql subscriptions.
This would allow the admin UI to avoid polling and immediately react to data changes.
Some users have managed to get them working #1879 but my personal recent attempts were unfruitful.
What seems to be the approach that is most aligned with vendure's coding standards / architecture would be to use the nest resolver decorators so @Subscription can sit along @Mutation & @Query like in the example below
As a headless platform, I believe vendure would greatly benefit from an idiomatic way to register new graphql subscriptions.
This would allow the admin UI to avoid polling and immediately react to data changes.
Some users have managed to get them working #1879 but my personal recent attempts were unfruitful.
What seems to be the approach that is most aligned with vendure's coding standards / architecture would be to use the nest resolver decorators so
@Subscription
can sit along@Mutation
&@Query
like in the example belowThe text was updated successfully, but these errors were encountered: