Possible to mount another application? #748
-
Both flask and fastapi has the option of mounting another application, or being mounted. See fastapi and flask docs. This would be hugely advantageous if you're deciding to migrate from one application framework to robyn for instance, as you can make the transition smoothly and not rewrite the entire application. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I have a project that gathers examples to mount different framework applications into each other. Here is the project hasansezertasan/a2wsgi-examples. Sadly, I have failed to mount Robyn application to a FastAPI application. |
Beta Was this translation helpful? Give feedback.
-
Hey @jonathan-s 👋 https://robyn.tech/documentation/example_app/subrouters_and_views#subrouter-and-views , you can mount sub Robyn apps like this. However, it is not possible to mount a Robyn app in another web framework(at least to my knowledge) . And addressing @hasansezertasan concerns regarding ASGI support. While the support is in plans, I am not actively working on it due to other higher prior items. I am more than happy to accept/review PRs regarding the same. I hope this helps 😄 Feel free to reopen the discussion if you have any more questions! |
Beta Was this translation helpful? Give feedback.
Hey @jonathan-s 👋
https://robyn.tech/documentation/example_app/subrouters_and_views#subrouter-and-views , you can mount sub Robyn apps like this.
However, it is not possible to mount a Robyn app in another web framework(at least to my knowledge) .
And addressing @hasansezertasan concerns regarding ASGI support. While the support is in plans, I am not actively working on it due to other higher prior items.
I am more than happy to accept/review PRs regarding the same.
I hope this helps 😄
Feel free to reopen the discussion if you have any more questions!