liquid
liquid copied to clipboard
Centralizing to_liquid
WIP
As part of https://github.com/Shopify/liquid/issues/1205 I am exploring cases of @context missing through rendering.
The following explore:
- Grouping invocations of
object.to_liquid
andobject.context=
as single operation. - Ensuring
Proc
optimizations are shared. - Limiting code paths manual management of object before their "conversion"
to_liquid
.
Still a few TODOs to work through and I need to figure out what goes in this PR vs what can be tackled separately (either before or after).