What's the rationale of passing body
to Jinja templates?
#79
-
Is there a specific reason behind using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Good observation. Essentially it was to give more structure to how different parts of the fastapi-mail interacted at the time, but I have since observed that it reduces flexibility in the use of jinja2 in fastapi-mail. This is something I started working to update but have not gotten around to finishing and submitting a PR on because of other things currently occupying my time. If you have PR already that would be fantastic and I'd be happy to help review it as well |
Beta Was this translation helpful? Give feedback.
Good observation. Essentially it was to give more structure to how different parts of the fastapi-mail interacted at the time, but I have since observed that it reduces flexibility in the use of jinja2 in fastapi-mail. This is something I started working to update but have not gotten around to finishing and submitting a PR on because of other things currently occupying my time. If you have PR already that would be fantastic and I'd be happy to help review it as well