You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fragments should also implement TypeSystemDefinitionNode to have the type names validated against the Type::BUILT_IN_TYPE_NAMES by the GraphQL\Validator\Rules\KnownTypeNames rule:
This fixes building a schema with
experimentalFragmentVariables
.Currenty, the
DocumentValidator
returnsUnknown type "String"
.Example:
Fragments should also implement
TypeSystemDefinitionNode
to have the type names validated against theType::BUILT_IN_TYPE_NAMES
by theGraphQL\Validator\Rules\KnownTypeNames
rule:Sorry, i struggled to add a test for this case with the current mock data in the
KnownTypeNamesTest
. Please advise if it is required.The text was updated successfully, but these errors were encountered: