Redundant typeof BaseEntity typing
Defus-E opened this issue · comments
I noticed that both GraphQLDatabaseLoader
and GraphQLQueryBuilder
use generic extending typeof BaseEntity
which is incorrect in some cases because Entity
might not be extended from BaseEntity
. It enables some difficulties to implement correct typing in real use. It seems everything works great if entity isn't extended from BaseEntity
, so I think it's redundant typing. Please, fix it.
++