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-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/generators/java/DataTypeGenerator.kt
Copy file name to clipboardExpand all lines: graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/generators/java/InterfaceGenerator.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ class InterfaceGenerator(private val config: CodeGenConfig, private val document
81
81
// implementation classes. This is not an issue if the overridden field has the same base type,
val returnType = typeUtils.findReturnType(fieldDefinition.type, useInterfaceType)
113
+
val returnType = typeUtils.findReturnType(fieldDefinition.type, useInterfaceType, true)
114
114
115
115
val fieldName = fieldDefinition.name
116
116
val getterBuilder =MethodSpec.methodBuilder(typeUtils.transformIfDefaultClassMethodExists("get${fieldName.capitalized()}", TypeUtils.Companion.getClass))
0 commit comments