Closed
Description
When SchemaMappingInspector
resolves union and interface type to concrete types, and cannot resolve the corresponding Java classes, it should not report them as skipped immediately because there may be other places where the concrete types are used that provide the Java class information.
For example, here only Photo
should be reported as skipped:
type Query {
search: [SearchResult]
article(id: ID): Article
}
union SearchResult = Article | Photo
type Photo {
height: Int
width: Int
}
type Article {
content: String
}
Given:
@Controller
class SearchController {
@QueryMapping
List<Object> search() {
// ...
}
@QueryMapping
Article article(@Argument Long id) {
// ...
}
}