Skip to content

Commit 9e83447

Browse files
committed
Add graphql dependencies
1 parent c1482f0 commit 9e83447

File tree

3 files changed

+345
-805
lines changed

3 files changed

+345
-805
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@
3838
"@fastify/cors": "^7",
3939
"@fastify/formbody": "^6.0.0",
4040
"@types/bcrypt-nodejs": "0.0.31",
41+
"apollo-server": "^3.10.2",
4142
"compression": "^1.7.4",
4243
"dompurify": "^2.3.8",
4344
"dotenv": "^16.0.1",
4445
"express": "^4.18.1",
46+
"graphql": "^16.6.0",
4547
"helmet": "^5.1.0",
4648
"jsdom": "^20.0.0",
4749
"morgan": "^1.10.0",

src/shared/infra/graphql/models/BaseGraphQLController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export abstract class BaseGraphQLController<TRequest, TResponseData>
3333
return result;
3434
}
3535
} catch (err) {
36-
// console.log(`[BaseController]: Uncaught controller error`);
37-
// console.log(err);
36+
// console.log(`[BaseController]: Uncaught controller error`);
37+
// console.log(err);
3838
this.fail('An unexpected error occurred');
3939
}
4040
throw result;

0 commit comments

Comments
 (0)