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.

Fixes nestjs#2169.
  • Loading branch information
khmm12 committed Nov 10, 2022
1 parent 1c1abf7 commit 54194d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,19 @@
"@fastify/static": "^6.0.0",
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"class-transformer": "*",
"class-validator": "*",
"reflect-metadata": "^0.1.12"
},
"peerDependenciesMeta": {
"@fastify/static": {
"optional": true
},
"class-transformer": {
"optional": true
},
"class-validator": {
"optional": true
}
},
"lint-staged": {
Expand Down

0 comments on commit 54194d6

Please sign in to comment.