Skip to content

Add feature - partial routes

Compare
Choose a tag to compare
@ujjwalguptaofficial ujjwalguptaofficial released this 02 Jan 15:06
· 120 commits to master since this release

🚀 New Feature Release 🌟 - Partial Routes & Child Routes!

Introducing the ability to create partial routes, empowering users to streamline controllers into lightweight sub-controllers, each dedicated to a specific task. 🚀💡

Example:

controller: UserController,
path: "/user",
children: [
    {
        controller: UserProfileController,
        path: "/profile",
        children: [
            {
                controller: UserProfileNestedController,
                path: "/nested"
            }
        ]
    }
]

Effortlessly organize and enhance your application structure!

PR - #38