Fix analytics app to use one top level query per subscription
tirumaraiselvan opened this issue · 4 comments
tirumaraiselvan commented
Currently, analytics app is broken after upgrading Hasura from v0.31.
Currently, we are using this subscription:
subscription {
number_orders {
count
}
number_order_validated {
count
}
number_order_payment_valid {
count
}
number_order_approved {
count
}
number_order_driver_assigned {
count
}
}
With latest Hasura (and as per GraphQL spec), we can have only one top level field in a subscription. This needs to be fixed by using multiple subscriptions.
rikinsk-zz commented
tirumaraiselvan commented
Closed via #16