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
When using extend with a type, if it isn't anywhere in the schema without extend, input and return types used in its fields and the type itself aren't in the final schema unless explicitly imported.
This is a problem in federated services which sometimes only extend certain types.
Hey,
When using
extend
with a type, if it isn't anywhere in the schema withoutextend
, input and return types used in its fields and the type itself aren't in the final schema unless explicitly imported.This is a problem in federated services which sometimes only extend certain types.
schema after importing
schema.graphql
(Test
is absent):Adding
type Query { anyField: AnyType }
anywhere produces a valid schema, but also drops theextend
keywordOther import methods:
# import Query.* from "query.graphql"
Same result
The
Query
type is not present at all (so in the exemple, it throws because it's an empty schema)The text was updated successfully, but these errors were encountered: