jquave / tasty

🍦 Simple and sweet Deno Web Framework for building simple APIs and Websites
22 stars 5 forks source link

Refactor router and routes #9

Closed eight-molecules closed 4 years ago

eight-molecules commented 4 years ago

Taking some of the restructuring further with routes getting extracted and types implemented for safety.

jquave commented 4 years ago

Can you resolve conflicts with master? I think I may have caused it by merging out of order, apologies for that.

eight-molecules commented 4 years ago

@jquave oof that was a combo of me moving around in history and the PRs you merged. Should be all set now, tests are still looking good.

eight-molecules commented 4 years ago

I'm gonna close this one out and open a new PR that inverts the server/router setup and allows the server event loop to be handled outside the router context.