Replies: 1 comment
|
Automatically adding routes to the application is a non-goal of Actix Web.
Obviously these reasons do not preclude a third party crate creating alternatives. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When the project size is large, there are a lot of #[get(“/example”)] in the project, and it is very tedious to add them one by one to cfg.service(example);, is there any way to automatically scan the #[get(“/example”)] or #[post(“/example”)] in the project and add them automatically to cfg. service(example);
All reactions