api
api copied to clipboard
Subscriptions?
Thank you for the nice Land. I played a bit with rockets 👍
I was able to add users with mutations, but I was not able to play with subscriptions.
subscription {
users {
name
}
}
Here is the result:
{
"errors": [
{
"message": "Cannot return null for non-nullable field Subscription.users.",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"users"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR"
}
}
],
"data": null
}
Do you know if it should work? Or if I have to adapt my query?
Thank you
I run into the same problem. Did someone has any solution? Is there a subscription active?