@graphql-tools/schema-merging
Advanced tools
Comparing version 5.0.1-alpha-2c860c0.0 to 5.0.1-alpha-394dfba.0
@@ -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
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
267397
+ Added@graphql-tools/schema-stitching@5.0.1-alpha-394dfba.0(transitive)
+ Added@graphql-tools/utils@5.0.1-alpha-394dfba.0(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@graphql-tools/schema-stitching@5.0.1-alpha-2c860c0.0(transitive)
- Removed@graphql-tools/utils@5.0.1-alpha-2c860c0.0(transitive)
- Removed@wry/equality@0.1.11(transitive)
- Removedapollo-link@1.2.14(transitive)
- Removedapollo-link-http-common@0.2.16(transitive)
- Removedapollo-upload-client@13.0.0(transitive)
- Removedapollo-utilities@1.3.4(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcross-fetch@3.0.4(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedextract-files@8.1.0(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedform-data@3.0.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removednode-fetch@2.6.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedts-invariant@0.4.4(transitive)
- Removedwhatwg-fetch@3.0.0(transitive)
- Removedzen-observable@0.8.15(transitive)
- Removedzen-observable-ts@0.8.21(transitive)
Updated@graphql-tools/schema-stitching@5.0.1-alpha-394dfba.0