@Directive
on abstract @ObjectType
is not applied to inherited classes
#2960
Labels
@Directive
on abstract @ObjectType
is not applied to inherited classes
#2960
Is there an existing issue for this?
Current behavior
Having a base
@ObjectType({ isAbstract: true })
class decorated with@Directive('@key(fields: "id")')
does not apply that directive to inherited classes.Minimum reproduction code
N/A
Steps to reproduce
model.base.ts
tousers-application/src/users/models
:user.model.ts
:Expected behavior
The directive is applied to all inheriting classes.
Package version
12.0.8
Graphql version
NestJS version
^10.0.3
Node.js version
18.17.0
In which operating systems have you tested?
Other
The text was updated successfully, but these errors were encountered: