Skip to content

Commit 7e5744d

Browse files
Fix default kotlin double mapping value (#600) (#607)
Co-authored-by: Bogdan Kobylynskyi <[email protected]>
1 parent 26fa6f4 commit 7e5744d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/kobylynskyi/graphql/codegen/kotlin/KotlinGraphQLTypeMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static String defaultValueKotlinPrimitive(String kotlinType) {
5050
case "Float":
5151
return "0F";
5252
case "Double":
53-
return "0D";
53+
return "0.0";
5454
case "Char":
5555
return "0.toChar()";
5656
case "Boolean":

0 commit comments

Comments
 (0)