-
Notifications
You must be signed in to change notification settings - Fork 168
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
Accessing Spring Beans when using Pebble with WebFlux #512
Comments
It's not intentional and has been forgotten. Reactive support is kind of new in Pebble. You can make a PR if you wish to fix this issue. Otherwise, I'll take a look at it |
Thanks for your quick response. I will try and tidy up what I have in the next few days and open a PR. |
Thanks, yes that looks good. In order for complete feature parity with servlet, it may be worth also implementing the equivalent access to reactive request, response, session objects from ServerWebExchange. |
I'm using Spring Boot 2.3.0 with WebFlux and Pebble Spring Boot Starter 3.1.3.
As in the documentation I am attempting to access a Spring Bean using:
However this results in a stacktrace because the beans variable is not defined.
The text was updated successfully, but these errors were encountered: