Skip to content

Commit

Permalink
Merge pull request #706 from ajkerr/remove-double-throw
Browse files Browse the repository at this point in the history
Remove double throw
  • Loading branch information
oryan-block authored Sep 23, 2022
2 parents 85ccba3 + 5069738 commit 545b1b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ internal class SchemaClassScanner(
resolverInfosByDataClass[item.clazz] ?: DataClassResolverInfo(item.clazz)
}
})
?: throw throw SchemaClassScannerError("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.")
?: throw SchemaClassScannerError("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.")

scanResolverInfoForPotentialMatches(item.type, resolverInfo)
}
Expand Down

0 comments on commit 545b1b1

Please sign in to comment.