Skip to content

Commit

Permalink
feat(typegraphql): update code to use typegraphql 2.0.0
Browse files Browse the repository at this point in the history
BREAKING CHANGE: @tsed/typegraphql use new @tsed/apollo package and support Apollo v4
  • Loading branch information
Romakita committed Sep 12, 2024
1 parent e45d54b commit e74df8a
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 1,505 deletions.
1 change: 0 additions & 1 deletion packages/graphql/typegraphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"graphql": "16.8.2",
"graphql-passport": "^0.6.8",
"graphql-scalars": "1.23.0",
"jest": "^29.7.0",
"ts-node": "10.9.2",
"type-graphql": ">=2.0.0-rc.2",
"typescript": "4.9.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,7 @@ describe("TypeGraphQL", () => {
errors: [
{
extensions: {
code: "INTERNAL_SERVER_ERROR",
exception: {
headers: {},
// message: "Wrong credentials",
name: "UNAUTHORIZED",
status: 401,
type: "HTTP_EXCEPTION"
}
code: "INTERNAL_SERVER_ERROR"
},
locations: [
{
Expand Down
Loading

0 comments on commit e74df8a

Please sign in to comment.