Right now our codegen assumes an explicit schema { query: Query, mutation: Mutation, subscription: Subscription } is defined in the provided SDL (which it is not when introspecting GraphQL HTTP API's generally). We rely on this to generate our ISchema interface used to resolve types.
Right now our codegen assumes an explicit
schema { query: Query, mutation: Mutation, subscription: Subscription }
is defined in the provided SDL (which it is not when introspecting GraphQL HTTP API's generally). We rely on this to generate ourISchema
interface used to resolve types.