Closed hari1602 closed 1 year ago
Expecting the RepoUpdateInput from the metadata.ts file should have the extended types.
RepoUpdateInput
class has only 1 attribute - id, which should be reflected in the metadata.ts
file.
This output:
Is perfectly fine.
Is there an existing issue for this?
Current behavior
The extended types using
PartialType
from@nestjs/graphql
is not generating the metadata. Since I'm using theswc-loader
& monorepo structure, I'm following this step https://docs.nestjs.com/recipes/swc#monorepo. Is there anything I'm missing?Minimum reproduction code
https://stackblitz.com/edit/nestjs-typescript-starter-pbexxs
Steps to reproduce
RepoUpdateInput
from the metadata.ts file are missingExpected behavior
PartialType
.RepoUpdateInput
is extending the type fromRepoCreateInput
partially.RepoUpdateInput
from the metadata.ts file should have the extended types.Package
Other package
@nestjs/graphql
NestJS version
10.0.3
Packages versions
Node.js version
19.9.0
In which operating systems have you tested?
Other
No response