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
I tried to follow the bodyParser example and build my own middleware which alters the event. I was also adding the first party cors middleware to the routine which produced some type errors I cannot figure out.
In the first scenario, the first middleware is adding 'foo' to the event -> cors -> business logic which doesn't hold the type reference:
Unfortunately, this is a limitation of TypeScript related to generics and not solvable by this library. You can find the relevant links and discussions here: #36 (comment)
I tried to follow the bodyParser example and build my own middleware which alters the event. I was also adding the first party cors middleware to the routine which produced some type errors I cannot figure out.
In the first scenario, the first middleware is adding 'foo' to the event -> cors -> business logic which doesn't hold the type reference:
Anything stick out?
The text was updated successfully, but these errors were encountered: