stephenhandley
06/09/2017, 7:12 PM"Cannot query field 'someUserExists' on type 'Query'.
when trying either someUserExists
or SomeUserExists
(docs are inconsistent wrt leading capital)? I’m following this tutorial and assumed since there’s a default user schema that this filter would exist
query {
someUserExists(filter: {
id: "abcdefg"
})
}
nilan
06/09/2017, 7:17 PMsomeUserExists
? It should be SomeUserExists
🙂stephenhandley
06/09/2017, 7:18 PMstephenhandley
06/09/2017, 7:18 PM{
"data": null,
"errors": [
{
"message": "Cannot query field 'SomeUserExists' on type 'Query'. (line 2, column 3):\n SomeUserExists(filter: {\n ^",
"locations": [
{
"line": 2,
"column": 3
}
]
}
]
}
nilan
06/09/2017, 7:18 PMnilan
06/09/2017, 7:18 PMstephenhandley
06/09/2017, 7:19 PMnilan
06/09/2017, 7:20 PMstephenhandley
06/09/2017, 7:20 PMnilan
06/09/2017, 7:20 PMnilan
06/09/2017, 7:20 PMstephenhandley
06/09/2017, 7:20 PMnilan
06/09/2017, 7:20 PMfilter
argument in the normal playground because it's the samestephenhandley
06/09/2017, 7:21 PMnilan
06/09/2017, 7:21 PMstephenhandley
06/09/2017, 8:36 PMFilters
`Some${type}Exists`
…
Criteria
`${field}_in`
(if field is relation)
`${field}_some`
`${field}_every`
`${field}_none`
I know there are some examples like that interspersed throughout the documentation but I think a single grouping of them would make learning / using them easiernilan
06/10/2017, 1:19 PM