graphql-schema-linter
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -9,2 +9,8 @@ # Changelog | ||
## 0.1.2 (March 8th, 2017) | ||
### Bug fixes | ||
- Allow non-null list type for `edges` in `relay-connection-types-spec` rule. [#112](https://github.com/cjoudrey/graphql-schema-linter/pull/112) | ||
## 0.1.1 (February 13th, 2017) | ||
@@ -11,0 +17,0 @@ |
@@ -49,2 +49,6 @@ 'use strict'; | ||
if (edgesFieldType.kind == 'NonNullType') { | ||
edgesFieldType = edgesFieldType.type; | ||
} | ||
if (edgesFieldType.kind != 'ListType') { | ||
@@ -51,0 +55,0 @@ context.reportError(new _validation_error.ValidationError('relay-connection-types-spec', 'The `' + typeName + '.edges` field must return a list of edges not `' + (0, _printer.print)(edgesFieldType) + '`.', [node])); |
{ | ||
"name": "graphql-schema-linter", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": | ||
@@ -19,15 +19,13 @@ "Command line tool and package to validate GraphQL schemas against a set of rules.", | ||
"devDependencies": { | ||
"babel": "^6.5.2", | ||
"babel-cli": "^6.7.7", | ||
"babel-core": "^6.7.7", | ||
"babel-eslint": "^7.2.3", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"eslint": "^4.1.1", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^4.0.3", | ||
"mocha": "^3.4.2", | ||
"prettier": "^1.6.0", | ||
"strip-ansi": "^4.0.0" | ||
"babel": "6.23.0", | ||
"babel-cli": "6.26.0", | ||
"babel-core": "6.26.0", | ||
"babel-plugin-transform-runtime": "6.23.0", | ||
"babel-preset-es2015": "6.24.1", | ||
"babel-preset-stage-0": "6.24.1", | ||
"husky": "0.14.3", | ||
"lint-staged": "4.0.3", | ||
"mocha": "3.5.0", | ||
"prettier": "1.6.0", | ||
"strip-ansi": "4.0.0" | ||
}, | ||
@@ -34,0 +32,0 @@ "babel": { |
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
517190
11
35
934