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
{{ message }}
Repository navigation
Commit 2dbc802
Browse filesBrowse the repository at this point in the historyBrowse files
error("Could not resolve type variable '${TypeUtils.toLongString(type)}' because declaring type is not parameterized: ${TypeUtils.toString(declaringType)}")
106
-
}
97
+
unwrapGenericType(unwrapsTo)
107
98
}
99
+
isTypeVariable<*> -> error("Could not resolve type variable '${TypeUtils.toLongString(type)}' of ${TypeUtils.toString(declaringType)} relative to ${TypeUtils.toString(mostSpecificType)}")
108
100
isWildcardType-> type.upperBounds.firstOrNull()
109
101
?: error("Unable to unwrap type, wildcard has no upper bound: $type")
110
102
isClass<*> ->if (type.isPrimitive) Primitives.wrap(type) else type
Copy file name to clipboardExpand all lines: src/main/kotlin/graphql/kickstart/tools/SchemaClassScanner.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -361,7 +361,7 @@ internal class SchemaClassScanner(
361
361
if (java.util.Map::class.java.isAssignableFrom(javaType.unwrap())) {
362
362
throwSchemaClassScannerError("Two different property map classes used for type ${type.name}:\n${realEntry.joinReferences()}\n\n- ${javaType}:\n| ${reference.getDescription()}")
363
363
}
364
-
throwSchemaClassScannerError("Two different classes used for type ${type.name}:\n${realEntry.joinReferences()}\n\n- ${javaType.unwrap()}:\n| ${reference.getDescription()}")
364
+
throwSchemaClassScannerError("Two different classes used for type ${type.name}:\n${realEntry.joinReferences()}\n\n- ${javaType.typeName}:\n| ${reference.getDescription()}")
365
365
}
366
366
}
367
367
}
@@ -472,7 +472,7 @@ internal class SchemaClassScanner(
0 commit comments