You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the middleware take the handler function (a Promise that resolves or rejects) for each API endpoint that is run and handled accordingly in the middleware
Add to each endpoint:
new LambdaBuilder(router)
.use(new InputValidator())
.build();
Development tasks
Do research on best input validation for different HTTP Verb types
work in file: src/util/middleware/inputValidator.ts
Learning Opportunities
creating a middleware function for a lambda
The text was updated successfully, but these errors were encountered:
Acceptance Criteria
Development tasks
Learning Opportunities
The text was updated successfully, but these errors were encountered: