Skip to content

Commit

Permalink
fix(graphql): type helpers metadata inheriting
Browse files Browse the repository at this point in the history
Yarn PnP doesn't implicitly inherit transitive peer dependencies class-validator and class-transformer from @nestjs/mapped-types.

nestjs/swagger#2169
  • Loading branch information
khmm12 committed Nov 10, 2022
1 parent 1d98efb commit d507e7a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"@apollo/subgraph": "^0.1.5 || ^0.3.0 || ^0.4.0 || ^2.0.0",
"@nestjs/common": "^8.2.3 || ^9.0.0",
"@nestjs/core": "^8.2.3 || ^9.0.0",
"class-transformer": "*",
"class-validator": "*",
"graphql": "^15.8.0 || ^16.0.0",
"reflect-metadata": "^0.1.13",
"ts-morph": "^13.0.2 || ^14.0.0 || ^15.0.0 || ^16.0.0"
Expand All @@ -54,6 +56,12 @@
"@apollo/subgraph": {
"optional": true
},
"class-transformer": {
"optional": true
},
"class-validator": {
"optional": true
},
"ts-morph": {
"optional": true
}
Expand Down

0 comments on commit d507e7a

Please sign in to comment.