Open luis22737928 opened 1 month ago
Can you show the Query type in the schema? In other words, what the output type for the getGenerosPag
query is, and how DataResp<Genero>
is mapped to that.
Here is the schema definition:
type Genero {
id: Int
descripcion: String
}
type PagGenero {
totalFilas: Int
filasPorPagina: Int
numeroDePagina: Int
totalPaginas: Int
listado: [Genero]
msj: String
}
extend type Query {
getGenerosPag(dataReq: GeneroDataReqInput): PagGenero
}
The type PagGenero is assigned to the returned class DataResp< T >, where the type Genero is assigned to the parameter class T.
Okay so the issue seems to be with a field that is mapped to a property with a generic type.
Hello, I have come across the following issue... I have a controller that returns a typed class (DataRep) and in this class there is a collection of T.
Here is the schema definition:
Here is the controller:
And here is the class returned DataResp:
Everything works fine, but the inspection report cannot recognize the type of the collection and reports Genero as a skipped type:
Is there a way to make introspection recognize this mapping between the collection declared in the schema and the one returned? thank you in advance