Skip to content

Commit

Permalink
Extra details
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Feb 14, 2024
1 parent 433c4e2 commit a1d60c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/src/sources/Express.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export class Express implements Wrapper {
// So that runWithContext is called for every request
// Whenever a MongoDB query is made, we want to inspect the filter
// And cross-reference it with the user supplied data of the request
// It's important that our middleware should be the last middleware in the chain
// So that we have access to the parsed body, cookies, etc.
private wrapRouteMethods(exports: unknown) {
massWrap(
// @ts-expect-error This is magic that TypeScript doesn't understand
Expand Down

0 comments on commit a1d60c6

Please sign in to comment.