merge-graphql-schemas
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -9,2 +9,9 @@ # Change Log | ||
## [0.0.20] - 2017-06-18 | ||
### Changed | ||
- No longer passing schema to gql for validation | ||
### Fixed | ||
- Fixed multiline comments parsing | ||
## [0.0.19] - 2017-06-14 | ||
@@ -11,0 +18,0 @@ ### Changed |
@@ -31,6 +31,2 @@ 'use strict'; | ||
var _validate_schema = require('./validate_schema'); | ||
var _validate_schema2 = _interopRequireDefault(_validate_schema); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -113,3 +109,2 @@ | ||
(0, _validate_schema2.default)(schema, rest); | ||
return [schema].concat((0, _toConsumableArray3.default)(rest)); | ||
@@ -116,0 +111,0 @@ }; |
{ | ||
"name": "merge-graphql-schemas", | ||
"author": "OK GROW!", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Better organize your GraphQL server.", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -6,3 +6,2 @@ import { parse } from 'graphql'; | ||
import { makeSchema, mergeableTypes } from './utilities/makeSchema'; | ||
import validateSchema from './validate_schema'; | ||
@@ -107,3 +106,2 @@ const _isMergeableTypeDefinition = def => | ||
validateSchema(schema, rest); | ||
return [schema, ...rest]; | ||
@@ -110,0 +108,0 @@ }; |
@@ -10,4 +10,5 @@ export default ` | ||
} | ||
# Comments on top of type definition | ||
# Second comment line | ||
type ClientWithCommentOnTop { | ||
@@ -19,3 +20,3 @@ # ClientID | ||
} | ||
type ClientWithComment { | ||
@@ -22,0 +23,0 @@ # ClientID |
@@ -444,3 +444,3 @@ import mergeTypes from '../src/merge_types'; | ||
const expectedClientType = normalizeWhitespace(` | ||
# Comments on top of type definition | ||
# Comments on top of type definition Second comment line | ||
type ClientWithCommentOnTop { | ||
@@ -447,0 +447,0 @@ # ClientID |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
5
0
55074
38
1288