hfour / h4bff

H4's backend & frontend framework :cupid::wrench: https://hfour.github.io/h4bff/
MIT License
7 stars 2 forks source link

added a Router singleton on the backend #13

Closed wh4everest closed 5 years ago

wh4everest commented 5 years ago

The intent is to replace all app.getSingleton(RequestContextProvider).router calls with app.getSingleton(Router).router.

If we don't have a singleton like the one I created here, all apps will end up defining one and we don't want that I think.

@gphfour this goes against what you did, but lets talk on Monday.