As discussed in https://github.com/djc/askama/pull/937, this was actually a pretty bad idea to do this. We'll need to discuss about potential ways to go around this limit but in the meantime, better revert it.
@PizzasBear: Can't you write a filter as_ref which takes a ref and returns a ref in the meantime to go around the limitation in your case?
Reverts djc/askama#922
As discussed in https://github.com/djc/askama/pull/937, this was actually a pretty bad idea to do this. We'll need to discuss about potential ways to go around this limit but in the meantime, better revert it.
@PizzasBear: Can't you write a filter
as_ref
which takes a ref and returns a ref in the meantime to go around the limitation in your case?