-
-
Notifications
You must be signed in to change notification settings - Fork 568
Closed
Description
It should be possible to create a new kind of type without having the error Unknown kind of type: MyCustomType
when introspecting the schema (see https://github.com/webonyx/graphql-php/blob/master/src/Type/Introspection.php#L419).
For example, we have this type in API Platform: https://github.com/api-platform/core/blob/master/src/GraphQl/Type/Definition/InputUnionType.php
And we can't introspect the schema because of the use of this new type.
We should at least be able to extend easily the related parts (not the case since it's inside an anonymous function).
Metadata
Metadata
Assignees
Labels
No labels