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

@graphql-tools/schema-merging

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/schema-merging - npm Package Compare versions

Comparing version 5.0.1-alpha-2c860c0.0 to 5.0.1-alpha-394dfba.0

4

index.cjs.js

@@ -907,3 +907,3 @@ 'use strict';

for (const schema of config.schemas) {
extractedResolvers.push(utils.extractResolversFromSchema(schema));
extractedResolvers.push(schemaStitching.getResolversFromSchema(schema));
extractedExtensions.push(extractExtensionsFromSchema(schema));

@@ -919,3 +919,3 @@ }

mergeTypes(config),
Promise.all(config.schemas.map(async (schema) => utils.extractResolversFromSchema(schema))).then(extractedResolvers => utils.composeResolvers(mergeResolvers([...extractedResolvers, ...ensureResolvers(config)], config), config.resolversComposition || {})),
Promise.all(config.schemas.map(async (schema) => schemaStitching.getResolversFromSchema(schema))).then(extractedResolvers => utils.composeResolvers(mergeResolvers([...extractedResolvers, ...ensureResolvers(config)], config), config.resolversComposition || {})),
Promise.all(config.schemas.map(async (schema) => extractExtensionsFromSchema(schema))).then(extractedExtensions => mergeExtensions(extractedExtensions)),

@@ -922,0 +922,0 @@ ]);

import { all } from 'deepmerge';
import { isScalarType, getDescription, visit, print, Source, Kind, isSchema, parse, isSpecifiedScalarType, isIntrospectionType, isObjectType, isInterfaceType, isInputObjectType, isUnionType, isEnumType, buildSchema, buildASTSchema } from 'graphql';
import { compareNodes, isNotEqual, printSchemaWithDirectives, createSchemaDefinition, asArray, extractResolversFromSchema, composeResolvers } from '@graphql-tools/utils';
import { addResolversToSchema, addErrorLoggingToSchema, SchemaDirectiveVisitor } from '@graphql-tools/schema-stitching';
import { compareNodes, isNotEqual, printSchemaWithDirectives, createSchemaDefinition, asArray, composeResolvers } from '@graphql-tools/utils';
import { getResolversFromSchema, addResolversToSchema, addErrorLoggingToSchema, SchemaDirectiveVisitor } from '@graphql-tools/schema-stitching';

@@ -903,3 +903,3 @@ const isMergeableObject = (target) => {

for (const schema of config.schemas) {
extractedResolvers.push(extractResolversFromSchema(schema));
extractedResolvers.push(getResolversFromSchema(schema));
extractedExtensions.push(extractExtensionsFromSchema(schema));

@@ -915,3 +915,3 @@ }

mergeTypes(config),
Promise.all(config.schemas.map(async (schema) => extractResolversFromSchema(schema))).then(extractedResolvers => composeResolvers(mergeResolvers([...extractedResolvers, ...ensureResolvers(config)], config), config.resolversComposition || {})),
Promise.all(config.schemas.map(async (schema) => getResolversFromSchema(schema))).then(extractedResolvers => composeResolvers(mergeResolvers([...extractedResolvers, ...ensureResolvers(config)], config), config.resolversComposition || {})),
Promise.all(config.schemas.map(async (schema) => extractExtensionsFromSchema(schema))).then(extractedExtensions => mergeExtensions(extractedExtensions)),

@@ -918,0 +918,0 @@ ]);

{
"name": "@graphql-tools/schema-merging",
"version": "5.0.1-alpha-2c860c0.0",
"version": "5.0.1-alpha-394dfba.0",
"description": "A set of utils for faster development of GraphQL tools",
"peerDependencies": {
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "5.0.1-alpha-2c860c0.0",
"@graphql-tools/utils": "5.0.1-alpha-394dfba.0",
"deepmerge": "4.2.2",
"@graphql-tools/schema-stitching": "5.0.1-alpha-2c860c0.0",
"@graphql-tools/schema-stitching": "5.0.1-alpha-394dfba.0",
"tslib": "1.11.1"

@@ -13,0 +13,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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