Closed martinsvoboda closed 3 months ago
Added support for importing nested router with string path. This unifies behaviour with api.add_router:
api.add_router
# api.add_router api = NinjaAPI() api.add_router("main", "myproject.app1.router") # router.add_router router = Router() router.add_router("nested", "myproject.app1.nested.router")
Thank you @martinsvoboda
Added support for importing nested router with string path. This unifies behaviour with
api.add_router
: