Open olivierauverlot opened 3 months ago
Hello Olivier, and thanks for opening this!
Indeed, the each_row template has to be at the "top level" of a template (not nested in another block).
This limitation would be quite hard to overcome without major changes either in the template library we use or in the ability of SQLPage to stream contents to browsers efficiently.
So unfortunately, this limitation is unlikely to be lifted soon.
What was your use case for it? Maybe we can find an effective workaround?
Maybe we can improve the error message too to make the situation clear?
Introduction
each_row helper can't be used in a {{else}}...{{/if}} block
To Reproduce
Actual behavior
I got the error message :
Version information