jmar777 / suspend-express

Write simpler, cleaner express routes using generators and suspend.
MIT License
4 stars 1 forks source link

Wrap Router instead of hack express #1

Open jmar777 opened 9 years ago

jmar777 commented 9 years ago

See https://github.com/strongloop/express/issues/2419 for context.

Instead of hacking express, it would be better to wrap the router once it has been externalized from express, as suggested by @dougwilson here.

I'll probably deprecate this module at that point and create a new one (e.g., suspend-router).

knownasilya commented 8 years ago

Yes please 👍