{"action":"opened","issue":{"url":"https://api.github.com/repos/Shopify/liquid/issues/516","labels_url":"https://api.github.com/repos/Shopify/liquid/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/liquid/issues/516/comments","events_url":"https://api.github.com/repos/Shopify/liquid/issues/516/events","html_url":"https://github.com/Shopify/liquid/issues/516","id":56137088,"number":516,"title":"Should `#to_liquid` deep-convert to a Liquid representation?","user":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?v=3","gravatar_id":"","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-31T19:58:20Z","updated_at":"2015-01-31T19:58:20Z","closed_at":null,"body":"If you take an object which has a `#to_liquid`, should that method also call `#to_liquid` on all its subcomponents? In Jekyll, one could have a Collection, whose `#to_liquid` method exposes certain properties, one of which is `docs`. At the moment, `Collection#to_liquid` creates the hash, but doesn't run `#to_liquid` on the value of the `\"docs\"` key in the Hash it creates. Should it? Is `#to_liquid` meant to be deeply-applied? Why doesn't Liquid call this method on all items passed to it?"}}