You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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);
Beta Was this translation helpful? Give feedback.
All reactions