Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscriptions? #212

Open
jycouet opened this issue Nov 23, 2020 · 1 comment
Open

Subscriptions? #212

jycouet opened this issue Nov 23, 2020 · 1 comment

Comments

@jycouet
Copy link

jycouet commented Nov 23, 2020

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

@inpercima
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants