SchemaPrinter
must not load all existing types/directives through Schema
/DirectiveLocator
.
#50
Labels
SchemaPrinter
must not load all existing types/directives through Schema
/DirectiveLocator
.
#50
It doesn't work for custom schemas. There is no way to fix it until Lighthouse get rids of singletons :( The problem is
lara-asp/packages/graphql/src/SchemaPrinter/PrintedSchemaImpl.php
Line 46 in ccd51af
so the
getTypeMap()
is (lazily) executed after printing and singletons reset, thus will refer to default (= application) schema.Related to: #43, nuwave/lighthouse#273
The text was updated successfully, but these errors were encountered: