Replies: 2 comments
-
I don't understand what you mean. Can you elaborate?
No I don't think we're gonna build this into axum directly. Its quite a niche use case and possible today without any new API in axum. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'd might be wrong but maybe reverse proxy is what you are looking for. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to add and remove routes dynamically at runtime?
Usecase: When building a plugin-based application, it'd be interesting to allow plugins to register/add routes at runtime and deregister/delete on disabling or removing the plugin.
I had posed the question a few weeks ago and got some help already. Here is the snippet that allows dynamic addition of GET routes : gist. The added code doesn't actually run but the route does get added though.
Can this be exposed as an API? Something like
NestedDynamicRouter
?Beta Was this translation helpful? Give feedback.
All reactions