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

@anchan828/gen-graphql-merge-schema

Package Overview
Dependencies
Maintainers
1
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anchan828/gen-graphql-merge-schema - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

dist/service.d.ts

4

dist/index.js

@@ -9,4 +9,7 @@ "use strict";

const merge_graphql_schemas_1 = require("merge-graphql-schemas");
const service_1 = require("./service");
exports.mergeTypes = (types, options) => {
options = deepmerge({ orderOptions: {}, whereOptions: {}, relayOptions: {} }, options || {});
const service = new service_1.MergeSchemaService();
types.forEach(type => service.cacheDescriptions(type));
let result = gen_graphql_order_schema_1.genOrderTypes(merge_graphql_schemas_1.mergeTypes([...types, `type Query`], {

@@ -17,3 +20,4 @@ all: true,

result = gen_graphql_relay_schema_1.genRelayTypes(result, options.relayOptions);
service.setDescriptions(result);
return graphql_1.printSchema(graphql_1.buildASTSchema(result));
};

4

package.json
{
"name": "@anchan828/gen-graphql-merge-schema",
"version": "0.1.25",
"version": "0.1.26",
"description": "merge multiple schema. merge-graphql-schemas based.",

@@ -43,3 +43,3 @@ "author": "anchan828 <anchan828@gmail.com>",

"homepage": "https://github.com/anchan828/gen-graphql-schema/tree/master/packages/merge-schema#readme",
"gitHead": "4d0541c18b2a963f7c3fd9ac3c28292dff9b6a40"
"gitHead": "b33dfd6575f825608d9b5fbf8d662c163c29f4d8"
}
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