mergeSchemas cannot resolve scalar type in Query, Mutation if type is present by extend #847
Closed
1 of 5 tasks
Labels
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
define type by
then makeExectuableSchema out of it.
define another type
them mergeSchemas of both. Now it complain that it doesn't know Float.
workaround is to split second definition into extend and query then call mergeSchemas twice.
First with extend type definition. Second with Query.
Based on some of my investigation, mergeSchemas seem to detect type out of compile schema but not on string based schema. So split mergeSchemas into two phrase can workaround this.
This is possibly the same issue with #825 and #815
The text was updated successfully, but these errors were encountered: