@graphql-codegen/visitor-plugin-common 3.0.2-alpha-20230305152225-6bd002398 → 3.0.2-alpha-20230306010122-ebeb35b8c
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.
|
@@ -131,7 +131,7 @@ class BaseResolversVisitor extends base_visitor_js_1.BaseVisitor {
|
|
|
131
131
|
prev[typeName] = applyWrapper(this.config.rootValueType.type);
|
|
132
132
|
return prev;
|
|
133
133
|
}
|
|
134
|
-
if (isMapped && this.config.mappers[typeName].type
|
|
134
|
+
if (isMapped && this.config.mappers[typeName].type) {
|
|
135
135
|
this.markMapperAsUsed(typeName);
|
|
136
136
|
prev[typeName] = applyWrapper(this.config.mappers[typeName].type);
|
|
137
137
|
}
|
|
@@ -127,7 +127,7 @@ export class BaseResolversVisitor extends BaseVisitor {
|
|
|
127
127
|
prev[typeName] = applyWrapper(this.config.rootValueType.type);
|
|
128
128
|
return prev;
|
|
129
129
|
}
|
|
130
|
-
if (isMapped && this.config.mappers[typeName].type
|
|
130
|
+
if (isMapped && this.config.mappers[typeName].type) {
|
|
131
131
|
this.markMapperAsUsed(typeName);
|
|
132
132
|
prev[typeName] = applyWrapper(this.config.mappers[typeName].type);
|
|
133
133
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/visitor-plugin-common",
|
|
3
|
-
"version": "3.0.2-alpha-
|
|
3
|
+
"version": "3.0.2-alpha-20230306010122-ebeb35b8c",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"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"
|
|
6
6
|
},
|