@graphql-mesh/grpc 0.95.4 → 0.95.5-alpha-20230908145349-0f55db6f6
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.
- package/cjs/index.js +1 -1
- package/cjs/utils.js +1 -1
- package/esm/index.js +1 -1
- package/esm/utils.js +1 -1
- package/package.json +4 -4
package/cjs/index.js
CHANGED
package/cjs/utils.js
CHANGED
|
@@ -10,7 +10,7 @@ const grpc_js_1 = require("@grpc/grpc-js");
|
|
|
10
10
|
const scalars_js_1 = require("./scalars.js");
|
|
11
11
|
function getTypeName(schemaComposer, pathWithName, isInput) {
|
|
12
12
|
if (pathWithName?.length) {
|
|
13
|
-
const baseTypeName = pathWithName.filter(Boolean).join('
|
|
13
|
+
const baseTypeName = pathWithName.filter(Boolean).join('__');
|
|
14
14
|
if ((0, scalars_js_1.isScalarType)(baseTypeName)) {
|
|
15
15
|
return (0, scalars_js_1.getGraphQLScalar)(baseTypeName);
|
|
16
16
|
}
|
package/esm/index.js
CHANGED
package/esm/utils.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Metadata, } from '@grpc/grpc-js';
|
|
|
6
6
|
import { getGraphQLScalar, isScalarType } from './scalars.js';
|
|
7
7
|
export function getTypeName(schemaComposer, pathWithName, isInput) {
|
|
8
8
|
if (pathWithName?.length) {
|
|
9
|
-
const baseTypeName = pathWithName.filter(Boolean).join('
|
|
9
|
+
const baseTypeName = pathWithName.filter(Boolean).join('__');
|
|
10
10
|
if (isScalarType(baseTypeName)) {
|
|
11
11
|
return getGraphQLScalar(baseTypeName);
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/grpc",
|
|
3
|
-
"version": "0.95.
|
|
3
|
+
"version": "0.95.5-alpha-20230908145349-0f55db6f6",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@graphql-mesh/cross-helpers": "^0.4.0",
|
|
7
|
-
"@graphql-mesh/store": "
|
|
8
|
-
"@graphql-mesh/types": "
|
|
9
|
-
"@graphql-mesh/utils": "
|
|
7
|
+
"@graphql-mesh/store": "0.95.3-alpha-20230908145349-0f55db6f6",
|
|
8
|
+
"@graphql-mesh/types": "0.95.3-alpha-20230908145349-0f55db6f6",
|
|
9
|
+
"@graphql-mesh/utils": "0.95.3-alpha-20230908145349-0f55db6f6",
|
|
10
10
|
"@graphql-tools/utils": "^9.2.1 || ^10.0.0",
|
|
11
11
|
"graphql": "*",
|
|
12
12
|
"tslib": "^2.4.0"
|