Closed goto-bus-stop closed 4 months ago
Given:
type A { b: B } type B { field: Int! }
and a selection against A:
A
{ b }
The error message said B.b must have a subselection. But B.b does not exist. We confused the return type of the field b and its parent type.
B.b
b
Now you correctly get an error saying that A.b must have a subselection.
A.b
Given:
and a selection against
A
:The error message said
B.b
must have a subselection. ButB.b
does not exist. We confused the return type of the fieldb
and its parent type.Now you correctly get an error saying that
A.b
must have a subselection.