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 concur that the routing functions should be split from the handler functions that get imported. I like the name Alice.Router for the actual routing functions that remain. Honestly I think you may be able to extract all the macros from Alice.Router and put them into an Alice.Handler. You might even be able to make it a non-breaking change by chaining the __using__ functions. So if you do use Alice.Router the __using__ macro just invokes use Alice.Handler. Then we deprecate that in 1.0
It's confusing to have to type
use Alice.Router
in your handler. Maybe this would be better asuse Alice.Handler
.The text was updated successfully, but these errors were encountered: