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
I'm currently working on a project to build a rather robust REST API and I'm splitting my route handler functions out into several files. We'll be expanding out to more routes in the future and we want to have minimal changes to the App::new() code. So we thought about doing the code snippet above in each route file to accomplish that. It would also help with ergonomics in general.
This is sort of the like the plugin functionality that bevy uses in it's builder.
Your Environment
Rust Version (I.e, output of rustc -V): 1.69.0
Actix Web Version: 4.3.1
The text was updated successfully, but these errors were encountered:
Your issue may already be reported! Please search on the Actix Web issue tracker before creating one.
Expected Behavior
AppEntry is publicly exposed so that App can be further implemented.
Current Behavior
Currently, AppEntry is not exposed publicly and makes the following impossible:
Context
I'm currently working on a project to build a rather robust REST API and I'm splitting my route handler functions out into several files. We'll be expanding out to more routes in the future and we want to have minimal changes to the App::new() code. So we thought about doing the code snippet above in each route file to accomplish that. It would also help with ergonomics in general.
This is sort of the like the
plugin
functionality that bevy uses in it's builder.Your Environment
rustc -V
): 1.69.0The text was updated successfully, but these errors were encountered: