Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you think you can make an adapter for fastapi? #12

Closed
NickDatLe opened this issue Feb 20, 2024 · 2 comments
Closed

Do you think you can make an adapter for fastapi? #12

NickDatLe opened this issue Feb 20, 2024 · 2 comments

Comments

@NickDatLe
Copy link

Do you think you can build one? How hard was it?

@j0ack
Copy link
Owner

j0ack commented Feb 20, 2024

Hello @NickDatLe,

It was a nice exercise to build this adapter for Flask and it was not that hard. Unfortunately I am not as familiar with FastAPI internals so I think it would be trickier.

The FastAPI documentation seems to be well documented to run with custom Middlewares, which is the way to create an adapter for Inertia.

@NickDatLe
Copy link
Author

Thanks for replying @j0ack - I'll see what I can do.
I did asked this question in the djanjo adapter github, if you would like to contribute, please join in :)

inertiajs/inertia-django#42

@j0ack j0ack closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants