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: src/main/kotlin/com/coxautodev/graphql/tools/SchemaClassScanner.kt
+18-11Lines changed: 18 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -87,11 +87,11 @@ internal class SchemaClassScanner(initialDictionary: BiMap<String, Class<*>>, al
87
87
do {
88
88
do {
89
89
// Require all implementors of discovered interfaces to be discovered or provided.
90
-
handleInterfaceOrUnionSubTypes(getAllObjectTypesImplementingDiscoveredInterfaces(), { "Object type '${it.name}' implements a known interface, but no class could be found for that type name. Please pass a class for type '${it.name}' in the parser's dictionary." })
90
+
handleInterfaceOrUnionSubTypes(getAllObjectTypesImplementingDiscoveredInterfaces()) { "Object type '${it.name}' implements a known interface, but no class could be found for that type name. Please pass a class for type '${it.name}' in the parser's dictionary." }
91
91
} while (scanQueue())
92
92
93
93
// Require all members of discovered unions to be discovered.
94
-
handleInterfaceOrUnionSubTypes(getAllObjectTypeMembersOfDiscoveredUnions(), { "Object type '${it.name}' is a member of a known union, but no class could be found for that type name. Please pass a class for type '${it.name}' in the parser's dictionary." })
94
+
handleInterfaceOrUnionSubTypes(getAllObjectTypeMembersOfDiscoveredUnions()) { "Object type '${it.name}' is a member of a known union, but no class could be found for that type name. Please pass a class for type '${it.name}' in the parser's dictionary." }
95
95
} while (scanQueue())
96
96
97
97
return validateAndCreateResult(rootTypeHolder)
@@ -253,7 +253,7 @@ internal class SchemaClassScanner(initialDictionary: BiMap<String, Class<*>>, al
253
253
* Enter a found type into the dictionary if it doesn't exist yet, add a reference pointing back to where it was discovered.
mappingAdvice =". Try using a class to represent your input type instead of a Map."
306
+
}
307
+
log.warn("Cannot find definition for field '${inputValueDefinition.name}: ${inputGraphQLType.name}' on input type '${graphQLType.name}' -> ${javaType.name}$mappingAdvice")
0 commit comments