dart_frog
dart_frog copied to clipboard
Route Prefixes and Versions
Description
Just wanted to say thank you so much for this package. I love it.
Okay so I was curious if it would be possible to allow the developer to add a global route prefix and possibly specify a version for the route. Like in Nest.js with global prefixes and Versioning.
So for example, i want my api’s to start with “/api/v1/“. Right now I would have to create two folders and then put all my routes in those folders but instead I’d like to be able to specify the global prefix in the custom server endpoint and then within each route I’d like to then specify the version of the route.
Requirements
- [ ] All CI/CD checks are passing.
- [ ] There is no drop in the test coverage percentage.
- [ ] Developer can specify a global prefix
- [ ] Developer can specify versions for routes
Additional Context
No response