@graphql-mesh/compose-cli 1.0.4 → 1.1.0-alpha-20241014120932-b664eaabc00f488b2ebc91fa785ca0803817569d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -82,6 +82,7 @@ async function getComposedSchemaFromConfig(config, logger) {
|
|
|
82
82
|
}
|
|
83
83
|
const result = (0, fusion_composition_1.composeSubgraphs)(subgraphConfigsForComposition);
|
|
84
84
|
if (result.errors?.length) {
|
|
85
|
+
logger.error(`Failed to compose subgraphs`);
|
|
85
86
|
for (const error of result.errors) {
|
|
86
87
|
if (isDebug) {
|
|
87
88
|
logger.error(error);
|
|
@@ -90,7 +91,6 @@ async function getComposedSchemaFromConfig(config, logger) {
|
|
|
90
91
|
logger.error(error.message || error);
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
|
-
logger.error(`Failed to compose subgraphs`);
|
|
94
94
|
process.exit(1);
|
|
95
95
|
}
|
|
96
96
|
if (!result.supergraphSdl) {
|
|
@@ -79,6 +79,7 @@ export async function getComposedSchemaFromConfig(config, logger) {
|
|
|
79
79
|
}
|
|
80
80
|
const result = composeSubgraphs(subgraphConfigsForComposition);
|
|
81
81
|
if (result.errors?.length) {
|
|
82
|
+
logger.error(`Failed to compose subgraphs`);
|
|
82
83
|
for (const error of result.errors) {
|
|
83
84
|
if (isDebug) {
|
|
84
85
|
logger.error(error);
|
|
@@ -87,7 +88,6 @@ export async function getComposedSchemaFromConfig(config, logger) {
|
|
|
87
88
|
logger.error(error.message || error);
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
|
-
logger.error(`Failed to compose subgraphs`);
|
|
91
91
|
process.exit(1);
|
|
92
92
|
}
|
|
93
93
|
if (!result.supergraphSdl) {
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/compose-cli",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0-alpha-20241014120932-b664eaabc00f488b2ebc91fa785ca0803817569d",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/types": "
|
|
6
|
+
"@graphql-mesh/types": "0.102.6-alpha-20241014120932-b664eaabc00f488b2ebc91fa785ca0803817569d",
|
|
7
7
|
"graphql": "*"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@commander-js/extra-typings": "^12.1.0",
|
|
11
|
-
"@graphql-mesh/fusion-composition": "
|
|
11
|
+
"@graphql-mesh/fusion-composition": "0.6.0-alpha-20241014120932-b664eaabc00f488b2ebc91fa785ca0803817569d",
|
|
12
12
|
"@graphql-mesh/include": "^0.2.2",
|
|
13
|
-
"@graphql-mesh/utils": "
|
|
13
|
+
"@graphql-mesh/utils": "0.102.6-alpha-20241014120932-b664eaabc00f488b2ebc91fa785ca0803817569d",
|
|
14
14
|
"@graphql-tools/graphql-file-loader": "8.0.1",
|
|
15
15
|
"@graphql-tools/load": "^8.0.1",
|
|
16
16
|
"@graphql-tools/schema": "^10.0.5",
|