Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Not working with non-null property #2

Closed
cricrio opened this issue Oct 14, 2017 · 3 comments
Closed

Not working with non-null property #2

cricrio opened this issue Oct 14, 2017 · 3 comments

Comments

@cricrio
Copy link

cricrio commented Oct 14, 2017

When we are querying on a non-null field it throws an error.

Example:
query

query {
  Movie{
    movieId
  }
}

response

{
  "data": {
    "Movie": null
  },
  "errors": [
    {
      "message": "Cannot read property 'arguments' of undefined",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "Movie"
      ]
    }
  ]
johnymontana added a commit that referenced this issue Oct 14, 2017
@johnymontana
Copy link
Contributor

Thanks for reporting @cricrio! I just pushed a quick fix for this and published to npm as version 0.1.4. Could you try again, please?

@cricrio
Copy link
Author

cricrio commented Oct 14, 2017

It's working! Thanks it was fast.

@johnymontana
Copy link
Contributor

Great - thanks for testing again!

johnymontana pushed a commit that referenced this issue Aug 30, 2018
johnymontana pushed a commit that referenced this issue Nov 6, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants