Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apollo-modules-node

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-modules-node - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

14

CHANGELOG.md

@@ -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)

8

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc