Skip to content

Commit

Permalink
fix(deps): update dependency class-validator to v0.14.0 (#4317)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Ruheni <[email protected]>
  • Loading branch information
renovate[bot] and ruheni authored Dec 20, 2022
1 parent 7fedb01 commit 7e80aa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion typescript/graphql-nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@nestjs/platform-express": "9.2.1",
"@prisma/client": "4.8.0",
"apollo-server-express": "3.11.1",
"class-validator": "0.13.2",
"class-validator": "0.14.0",
"graphql": "16.5.0",
"graphql-tools": "8.3.14",
"reflect-metadata": "0.1.13",
Expand Down
2 changes: 1 addition & 1 deletion typescript/graphql-typegraphql-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@prisma/client": "4.8.0",
"@types/graphql-fields": "1.3.4",
"apollo-server": "3.11.1",
"class-validator": "0.13.2",
"class-validator": "0.14.0",
"graphql": "15.8.0",
"graphql-fields": "2.0.3",
"graphql-type-json": "0.3.2",
Expand Down
2 changes: 1 addition & 1 deletion typescript/graphql-typegraphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@prisma/client": "4.8.0",
"apollo-server": "3.11.1",
"class-validator": "0.13.2",
"class-validator": "0.14.0",
"graphql": "15.8.0",
"graphql-scalars": "1.20.1",
"reflect-metadata": "0.1.13",
Expand Down
1 change: 1 addition & 0 deletions typescript/graphql-typegraphql/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const app = async () => {
const schema = await tq.buildSchema({
resolvers: [PostResolver, UserResolver, PostCreateInput],
scalarsMap: [{ type: GraphQLScalarType, scalar: DateTimeResolver }],
validate: { forbidUnknownValues: false }
})

new ApolloServer({ schema, context: context }).listen({ port: 4000 }, () =>
Expand Down

0 comments on commit 7e80aa4

Please sign in to comment.