liquid icon indicating copy to clipboard operation
liquid copied to clipboard

Centralizing to_liquid

Open tjoyal opened this issue 2 years ago • 0 comments

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 and object.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).

tjoyal avatar Mar 03 '22 19:03 tjoyal