The member signatures mirror what the real GraphQLSchema produces so that
a genuine schema is assignable here without a cast (M70i X6-3). graphql@16
returns Maybe<T> (T | null | undefined) from its type getters and
ReadonlyArray from its plural getters, so the facade admits both. toAST
is optional: no src reader consumes it, and the real GraphQLSchema does
not expose it, so requiring it excluded every schema the library builds.
Structural facade for a graphql@16 schema.
The member signatures mirror what the real
GraphQLSchemaproduces so that a genuine schema is assignable here without a cast (M70i X6-3). graphql@16 returnsMaybe<T>(T | null | undefined) from its type getters andReadonlyArrayfrom its plural getters, so the facade admits both.toASTis optional: nosrcreader consumes it, and the realGraphQLSchemadoes not expose it, so requiring it excluded every schema the library builds.