Elektrine lite

← Feed

@yotamn@shutafem.casa

Post #443133

2025-02-16 11:44 UTC

Can't find an HTTP framework for NodeJS that has proper types for middlewares. Are they just not supposed to add data to the request? #javascript #NodeJS

Replies (1)

  • @yotamn@shutafem.casa 2025-02-16 12:26

    What I'm thinking currently is to not actually use a middleware but a composeable pipe. Trying to think what are the gotchas. 🤔

    Open ##1882703