check for Introspection::TYPE_NAME_FIELD_NAME
in QueryPlan::analyzeSelectionSet
at wrong place?
#1293
Labels
Introspection::TYPE_NAME_FIELD_NAME
in QueryPlan::analyzeSelectionSet
at wrong place?
#1293
Hi over there,
I'll try to provide more details soon, maybe also an query where the essential problem is visible.
Right now I just have a huge query which is hard to reduce to the key point.
But maybe it's also just moving an assertion.
In
QueryPlan::analyzeSelectionSet
is an assertion that aims for$parentType instanceof HasFieldsType
just a few lines below is a condition that skips the current iteration if the field name isIntrospection::TYPE_NAME_FIELD_NAME
.I ran into an error because the
$selectionNode
is aIntrospection::TYPE_NAME_FIELD_NAME
- so its not anHasFieldsType
.Could we move the assertion below the check for
Introspection::TYPE_NAME_FIELD_NAME
?Thank you :)
The text was updated successfully, but these errors were encountered: