buildClientSchema.mjs:97 Uncaught Error: Invalid or incomplete schema, unknown type: String. Ensure that a full introspection query is used in order to build a client schema.
at buildClientSchema.mjs:97
at h (buildClientSchema.mjs:90)
at h (buildClientSchema.mjs:82)
at buildClientSchema.mjs:104
at w (buildClientSchema.mjs:270)
at keyValMap.mjs:20
at Array.reduce (<anonymous>)
at r (keyValMap.mjs:19)
at x (buildClientSchema.mjs:264)
at buildClientSchema.mjs:258
What steps may we take to reproduce the behavior?
Playground seems like it can not handle the built-in scalar type in the current, just try to resolve the introspection above. The playground will try to resolve scalar type as a named type and call getNamedType then it fails.
I am writing a Graphql server framework now, the Playground can resolve above introspection the framework generated before, and recently it fails, it seems like something breaks compatibility.
This issue pertains to the following package(s):
What OS and OS version are you experiencing the issue(s) on?
Google Chrome 81.0.4044.113(stable) (64bit)
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
I just use
//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js
in HTML.What is the expected behavior?
Playground can handle below introspection correctly:
What is the actual behavior?
Got
What steps may we take to reproduce the behavior?
Playground seems like it can not handle the built-in scalar type in the current, just try to resolve the introspection above. The playground will try to resolve scalar type as a named type and call
getNamedType
then it fails.