Skip to content

Commit aa185a3

Browse files
alsoapottere
authored andcommitted
fix typo in error message (graphql-java-kickstart#29)
1 parent 35a8ee0 commit aa185a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/kotlin/com/coxautodev/graphql/tools/SchemaClassScanner.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class SchemaClassScanner(initialDictionary: BiMap<String, Class<*>>, private val
243243
queue.add(QueueItem(type, clazz))
244244
type.implements.forEach {
245245
if(it is TypeName) {
246-
handleFoundType(interfaceDefinitionsByName[it.name] ?: throw SchemaClassScannerError("Object type ${type.name} decalred interface ${it.name}, but no interface with that name was found in the schema!"), null, InterfaceReference(type))
246+
handleFoundType(interfaceDefinitionsByName[it.name] ?: throw SchemaClassScannerError("Object type ${type.name} declared interface ${it.name}, but no interface with that name was found in the schema!"), null, InterfaceReference(type))
247247
}
248248
}
249249
}

0 commit comments

Comments
 (0)