vulcan-docs
vulcan-docs copied to clipboard
movies tutorial: graphiql part has a bug
running the following query on the graphiql client:
query moviesQuery{
moviesList{
createdAt
name
}
}
gives the following error:
{
"errors": [
{
"message": "Cannot query field \"moviesList\" on type \"Query\". Did you mean \"MoviesList\", \"usersList\", or \"MoviesSingle\"?",
"locations": [
{
"line": 2,
"column": 3
}
]
}
]
}
When I change the query as suggested into:
query moviesQuery{
MoviesList{
createdAt
name
}
}
I get the following error:
{
"data": {
"MoviesList": null
},
"errors": [
{
"message": "Cannot read property 'offset' of undefined",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"MoviesList"
]
}
]
}