Field must have a subselection
See original GitHub issueSame as graphcool/prisma-binding#76
query {
homesInPriceRange(min: 0, max: 9000) {
numRatings
}
}
{
"data": null,
"errors": [
{
"message": "Field 'places' of type 'Place' must have a sub selection. (line 2, column 3):\n places(where: $_where, orderBy: $_orderBy, skip: $_skip, after: $_after, before: $_before, first: $_first, last: $_last)\n ^",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"homesInPriceRange"
]
}
]
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Field \"createUaction\" of type \"CreateUaction\" must have a ...
A selection set is primarily composed of fields. A field describes one discrete piece of information available to request within a selection set ......
Read more >Field "A" of type "A" must have a sub selection #517 - GitHub
When querying a field which has fields of its own, you have to specify which field you want. In this case you are...
Read more >Field x of type y must have a sub selection - Questions
Hi guys, I'm new to GraphQL and Prisma and I'm trying to understand this error: I'm executing this code in my application server...
Read more >Type \"[ArrayResult]\" must have a selection of subfields error
I have a custom class called Item. It has a fruit property of type Array. There is an object in that class where...
Read more >graphql-dotnet/graphql-dotnet - Gitter
@drobinson_code_twitter. I'm getting: {GraphQL.Validation.ValidationError: Field updateAllFoos of type String must not have a sub selection}. When I use:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can confirm! Note that this query works:
prismagraphql/prisma-binding#76