graphql-markdown icon indicating copy to clipboard operation
graphql-markdown copied to clipboard

Loading schema fails with graphql v16+

Open nextdude-mdsol opened this issue 4 years ago • 1 comments

Version 16 of graphql library removes support for positional arguments in call to graphql.graphql() used in src/loadSchemaJSON.js method schemaToJSON (line 24). The fix is to simply pass the schema and introspection query in an object instead.

nextdude-mdsol avatar Feb 15 '22 18:02 nextdude-mdsol

Submitted a PR to fix this.

nextdude avatar Feb 15 '22 18:02 nextdude

Released in v6.1.0. Thanks!

exogen avatar Oct 07 '22 03:10 exogen