@graphql-inspector/core
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -21,3 +21,6 @@ "use strict"; | ||
// but should be enough for now | ||
graphql_1.parse("\n " + doc.source.body + "\n\n " + fragments.map(graphql_1.print).join('\n\n') + "\n ")); | ||
graphql_1.parse("\n " + doc.source.body + "\n\n " + fragments | ||
.filter(function (f) { return doc.source.body.indexOf("fragment " + f.name.value + " on"); }) | ||
.map(graphql_1.print) | ||
.join('\n\n') + "\n ")); | ||
var deprecated = graphql_2.findDeprecatedUsages(schema, graphql_1.parse(doc.source.body)); | ||
@@ -24,0 +27,0 @@ if (errors || deprecated) { |
{ | ||
"name": "@graphql-inspector/core", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133332
1629