With regard to the subscription on update issue:
-
the query result block needs to include values that are part of the mutation.
subscription testSubscription { querySensor { xid value # this!!! } }this is useful for monitoring only some predicates that are changed.
-
the update will need to effect some change in order for a subscription query to fire. For instance, updating the sensor value with
10if the existing value is10will not trigger the subscription query.
With regard to the “multiple node update” issue (BTW, best to separate issues into their own posts), none of the proposed changes in the post you referred to were implemented. In cases where GraphQL is lacking, it usually means it’s time to dust off that DQL manual.