The problem with this syntax is that it would introduce a compile-time dependency on the HelloController
module. You don’t want all of your controllers recompiled when you change the router.
3 Likes
The problem with this syntax is that it would introduce a compile-time dependency on the HelloController
module. You don’t want all of your controllers recompiled when you change the router.