api icon indicating copy to clipboard operation
api copied to clipboard

Subscriptions?

Open jycouet opened this issue 5 years ago • 1 comments

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

jycouet avatar Nov 23 '20 16:11 jycouet

I run into the same problem. Did someone has any solution? Is there a subscription active?

inpercima avatar Aug 01 '22 12:08 inpercima