apollo-modules-node
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,6 +0,16 @@ | ||
<a name="0.1.1"></a> | ||
## 0.1.1 (2017-11-27) | ||
<a name="0.1.2"></a> | ||
## 0.1.2 (2017-12-29) | ||
<a name="0.1.2"></a> | ||
## 0.1.2 (2017-12-29) | ||
### Bug Fixes | ||
* **merge:** merged modules should't overwrite resolver functions on master ([403d39c](https://github.com/orbiting/backend-modules/commit/403d39c)) | ||
<a name="0.1.1"></a> | ||
@@ -7,0 +17,0 @@ ## 0.1.1 (2017-11-27) |
@@ -87,3 +87,3 @@ const fs = require('fs') | ||
typeDefs: [...master.schema, ...mergedSchemaTypes], | ||
resolvers: _.merge(master.resolvers, donor.typeResolvers) | ||
resolvers: _.merge(donor.resolvers, master.typeResolvers) | ||
} | ||
@@ -132,5 +132,5 @@ } | ||
...newModule.resolvers, | ||
queries: _.merge(module1.resolvers.queries, module2.resolvers.queries), | ||
mutations: _.merge(module1.resolvers.mutations, module2.resolvers.mutations), | ||
subscriptions: _.merge(module1.resolvers.subscriptions, module2.resolvers.subscriptions) | ||
queries: _.merge(module2.resolvers.queries, module1.resolvers.queries), | ||
mutations: _.merge(module2.resolvers.mutations, module1.resolvers.mutations), | ||
subscriptions: _.merge(module2.resolvers.subscriptions, module1.resolvers.subscriptions) | ||
} | ||
@@ -137,0 +137,0 @@ } |
{ | ||
"name": "apollo-modules-node", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "bundles in(ter)dependent graphql schemas and resolvers from directories by convention", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6485