@graphql-codegen/java-resolvers 3.0.1 → 4.0.0-alpha-20260307121827-8c88c4f5085704f4497848392d5bed0e63b7ccba

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/visitor.js CHANGED
@@ -31,8 +31,9 @@ class JavaResolversVisitor extends visitor_plugin_common_1.BaseVisitor {
31
31
  .map(m => m.source);
32
32
  }
33
33
  getTypeToUse(type) {
34
- if (this.scalars[type.name.value]) {
35
- return this.scalars[type.name.value];
34
+ var _a;
35
+ if ((_a = this.scalars[type.name.value]) === null || _a === void 0 ? void 0 : _a.output) {
36
+ return this.scalars[type.name.value].output;
36
37
  }
37
38
  if (this.config.mappers[type.name.value]) {
38
39
  return this.config.mappers[type.name.value].type;
package/esm/visitor.js CHANGED
@@ -28,8 +28,9 @@ export class JavaResolversVisitor extends BaseVisitor {
28
28
  .map(m => m.source);
29
29
  }
30
30
  getTypeToUse(type) {
31
- if (this.scalars[type.name.value]) {
32
- return this.scalars[type.name.value];
31
+ var _a;
32
+ if ((_a = this.scalars[type.name.value]) === null || _a === void 0 ? void 0 : _a.output) {
33
+ return this.scalars[type.name.value].output;
33
34
  }
34
35
  if (this.config.mappers[type.name.value]) {
35
36
  return this.config.mappers[type.name.value].type;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@graphql-codegen/java-resolvers",
3
- "version": "3.0.1",
3
+ "version": "4.0.0-alpha-20260307121827-8c88c4f5085704f4497848392d5bed0e63b7ccba",
4
4
  "description": "GraphQL Code Generator plugin for generating resolvers signature for Java backends",
5
5
  "peerDependencies": {
6
6
  "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 || ^16.0.0"
7
7
  },
8
8
  "dependencies": {
9
- "@graphql-codegen/java-common": "^3.0.1",
10
- "@graphql-codegen/plugin-helpers": "^3.0.0",
11
- "@graphql-codegen/visitor-plugin-common": "2.13.8",
9
+ "@graphql-codegen/java-common": "4.0.0-alpha-20260307121827-8c88c4f5085704f4497848392d5bed0e63b7ccba",
10
+ "@graphql-codegen/plugin-helpers": "^6.1.1",
11
+ "@graphql-codegen/visitor-plugin-common": "^6.2.4",
12
12
  "tslib": "^2.8.1"
13
13
  },
14
14
  "repository": {