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 55b4d19
Browse filesBrowse the repository at this point in the historyBrowse files
val resolverInfo =if (item.clazz ==Object::class.java) {
358
+
val resolverInfo =if (item.clazz ==Any::class.java) {
359
359
getResolverInfoFromTypeDictionary(item.type.name)
360
360
?:throwSchemaClassScannerError("The GraphQL schema type '${item.type.name}' maps to a field of type java.lang.Object however there is no matching entry for this type in the type dictionary. You may need to add this type to the dictionary before building the schema.")
361
361
} else {
@@ -391,7 +391,7 @@ internal class SchemaClassScanner(
type.getExtendedFieldDefinitions(extensionDefinitions).forEach { field ->
@@ -428,7 +428,7 @@ internal class SchemaClassScanner(
428
428
if (options.preferGraphQLResolver && realEntry.hasResolverRef()) {
429
429
log.warn("The real entry ${realEntry.joinReferences()} is a GraphQLResolver so ignoring this one ${javaType.unwrap()}$reference")
430
430
} else {
431
-
if (java.util.Map::class.java.isAssignableFrom(javaType.unwrap())) {
431
+
if (Map::class.java.isAssignableFrom(javaType.unwrap())) {
432
432
throwSchemaClassScannerError("Two different property map classes used for type ${type.name}:\n${realEntry.joinReferences()}\n\n- ${javaType}:\n| ${reference.getDescription()}")
433
433
}
434
434
throwSchemaClassScannerError("Two different classes used for type ${type.name}:\n${realEntry.joinReferences()}\n\n- ${javaType.typeName}:\n| ${reference.getDescription()}")
0 commit comments