@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 CHANGED
@@ -335,7 +335,7 @@ class GrpcHandler {
335
335
  });
336
336
  }
337
337
  }
338
- const typeName = pathWithName.join('_');
338
+ const typeName = pathWithName.join('__');
339
339
  if ('values' in nested) {
340
340
  const enumValues = {};
341
341
  const commentMap = nested.comments;
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
@@ -332,7 +332,7 @@ export default class GrpcHandler {
332
332
  });
333
333
  }
334
334
  }
335
- const typeName = pathWithName.join('_');
335
+ const typeName = pathWithName.join('__');
336
336
  if ('values' in nested) {
337
337
  const enumValues = {};
338
338
  const commentMap = nested.comments;
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.4",
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": "^0.95.2",
8
- "@graphql-mesh/types": "^0.95.2",
9
- "@graphql-mesh/utils": "^0.95.2",
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"