graphql-to-json-schema icon indicating copy to clipboard operation
graphql-to-json-schema copied to clipboard

Not working with latest version of graphql 16.3.0

Open raman-exiliensoft opened this issue 2 years ago • 2 comments

Getting Error: Expected undefined to be a GraphQL schema.

raman-exiliensoft avatar Jun 09 '23 06:06 raman-exiliensoft

same

jguipi avatar Oct 15 '23 21:10 jguipi

Issue is only with documentation. Latest version of graphqlSync takes an object as input.

const introspection = graphqlSync({ schema, source: getIntrospectionQuery() }).data

brian221 avatar Dec 05 '23 17:12 brian221