Stefano Vozza

Results 260 comments of Stefano Vozza

After a discussion with @sdangol I've decided we should keep the proposed signature in this PR: ``` app.post('/users', [[ /** middleware */]], async () => { return { id: '123',...

I updated the issue with more requirements a few days ago: https://github.com/aws-powertools/powertools-lambda-typescript/issues/4516.

I have updated the body of this issue with details on a proposed API and implementation. Note,the implementation suggestions are a rough sketch and do not need to the followed...

Hi there, thank you for the feedback! 1. This is interesting, I was hoping to not have an AWS specific request object and rely purely on web standards like [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request)....

Apologies for the delay, I'm only getting a chance to analyse point 3 properly now. What's actually happening here is to do with how error handling in middleware works. The...

So all instances that extend the `ServiceError` abstract class will have a `statusCode` field but for the other branch in this ternary which covers any other JS `Error` object, the...

Yeah, I wonder should we call it `HttpError` to make it more clear?

Let's make sure we add defences against prototype pollution in this function. In addition to the checks listed [here](https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/Prototype_pollution#avoid_lookups_on_the_prototype), we should explicitly check for `__proto__` and `constructor` keys and ignore...

Hi there, thanks for raising the issue. I'm not sure this makes sense for the solution. WD does not have RBAC so all users have the same permissions, which makes...

Hi there, thanks for the feedback. I'm going to reply in English rather than translate my reply to Spanish. I am interested in this piece particularly: > The main feature...