You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/main/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/mapper/KotlinTypeMapper.kt
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -94,11 +94,16 @@ internal class KotlinTypeMapper(
94
94
}
95
95
96
96
/**
97
-
* Will take the given [scalarTypeDefinition] and check if it's a default scalar or a custom one.
97
+
* Will return the according [ClassName] of the given [scalar]. If the given scalar is no built-in scalar, it will
98
+
* check if there is a representation class and return the [ClassName] of it. If it's no built-in scalar, and no
99
+
* representation class is given, it will simply return Any.
100
+
*
101
+
* @param scalar The scalar for which to get the [ClassName] for.
0 commit comments