graphql-markdown
Advanced tools
Comparing version 6.0.0 to 6.1.0
{ | ||
"name": "graphql-markdown", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "Generate documentation for your GraphQL schema in Markdown", | ||
@@ -38,3 +38,3 @@ "main": "src/index.js", | ||
"peerDependencies": { | ||
"graphql": "^14.0.2 || ^15.0.0" | ||
"graphql": "^14.0.2 || ^15.0.0 || ^16.0.0" | ||
}, | ||
@@ -59,3 +59,3 @@ "dependencies": { | ||
"graphbrainz": "^8.1.0", | ||
"graphql": "^14.0.2", | ||
"graphql": "^16.0.0", | ||
"husky": "^1.1.0", | ||
@@ -62,0 +62,0 @@ "jest": "^23.6.0", |
@@ -23,7 +23,6 @@ 'use strict' | ||
const graphql = options.graphql || DEFAULT_GRAPHQL | ||
return graphql | ||
.graphql(schema, graphql.getIntrospectionQuery()) | ||
.then(result => { | ||
return result.data | ||
}) | ||
const source = graphql.getIntrospectionQuery() | ||
return graphql.graphql({ schema, source }).then(result => { | ||
return result.data | ||
}) | ||
} | ||
@@ -30,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
249625
694