@graphql-codegen/kotlin 3.0.0 → 3.0.1
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 +1 -0
- package/esm/visitor.js +1 -0
- package/package.json +1 -1
package/cjs/visitor.js
CHANGED
|
@@ -38,6 +38,7 @@ class KotlinResolversVisitor extends visitor_plugin_common_1.BaseVisitor {
|
|
|
38
38
|
return (enumName) => {
|
|
39
39
|
return (0, visitor_plugin_common_1.indent)(`${this.convertName(node, {
|
|
40
40
|
useTypesPrefix: false,
|
|
41
|
+
useTypesSuffix: false,
|
|
41
42
|
transformUnderscore: true,
|
|
42
43
|
})}("${this.getEnumValue(enumName, node.name.value)}")`);
|
|
43
44
|
};
|
package/esm/visitor.js
CHANGED
|
@@ -35,6 +35,7 @@ export class KotlinResolversVisitor extends BaseVisitor {
|
|
|
35
35
|
return (enumName) => {
|
|
36
36
|
return indent(`${this.convertName(node, {
|
|
37
37
|
useTypesPrefix: false,
|
|
38
|
+
useTypesSuffix: false,
|
|
38
39
|
transformUnderscore: true,
|
|
39
40
|
})}("${this.getEnumValue(enumName, node.name.value)}")`);
|
|
40
41
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/kotlin",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating Kotlin code based on a GraphQL schema",
|
|
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"
|