-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add litestar support #26
Add litestar support #26
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a couple of comments. I still need to run the tests myself, but looking good! Thanks for the submission!
Okay, I made the changes and fixed a couple type annotations in the process (the return type for Litestar templates should just be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! I will include it on the next release.
Decided to add Litestar support by adding to the HTMXTemplate response class. I've added the example on the README, but let me know if you'd like a different approach.