{"action":"created","issue":{"url":"https://api.github.com/repos/rexm/Handlebars.Net/issues/96","repository_url":"https://api.github.com/repos/rexm/Handlebars.Net","labels_url":"https://api.github.com/repos/rexm/Handlebars.Net/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/rexm/Handlebars.Net/issues/96/comments","events_url":"https://api.github.com/repos/rexm/Handlebars.Net/issues/96/events","html_url":"https://github.com/rexm/Handlebars.Net/issues/96","id":132825577,"number":96,"title":"Dynamic Partials","user":{"login":"amaclean","id":1435123,"avatar_url":"https://avatars.githubusercontent.com/u/1435123?v=3","gravatar_id":"","url":"https://api.github.com/users/amaclean","html_url":"https://github.com/amaclean","followers_url":"https://api.github.com/users/amaclean/followers","following_url":"https://api.github.com/users/amaclean/following{/other_user}","gists_url":"https://api.github.com/users/amaclean/gists{/gist_id}","starred_url":"https://api.github.com/users/amaclean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaclean/subscriptions","organizations_url":"https://api.github.com/users/amaclean/orgs","repos_url":"https://api.github.com/users/amaclean/repos","events_url":"https://api.github.com/users/amaclean/events{/privacy}","received_events_url":"https://api.github.com/users/amaclean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-10T21:43:20Z","updated_at":"2016-02-11T00:54:01Z","closed_at":null,"body":"Hey Rex, I'd like to have a go at adding support for [dynamic partials](http://handlebarsjs.com/partials.html#dynamic-partials) but I wanted to get your take on it first. Despite the existing support for subexpressions I have a feeling that may be a relatively invasive change. Do you have a preferred approach to take?"},"comment":{"url":"https://api.github.com/repos/rexm/Handlebars.Net/issues/comments/182660892","html_url":"https://github.com/rexm/Handlebars.Net/issues/96#issuecomment-182660892","issue_url":"https://api.github.com/repos/rexm/Handlebars.Net/issues/96","id":182660892,"user":{"login":"rexm","id":141929,"avatar_url":"https://avatars.githubusercontent.com/u/141929?v=3","gravatar_id":"","url":"https://api.github.com/users/rexm","html_url":"https://github.com/rexm","followers_url":"https://api.github.com/users/rexm/followers","following_url":"https://api.github.com/users/rexm/following{/other_user}","gists_url":"https://api.github.com/users/rexm/gists{/gist_id}","starred_url":"https://api.github.com/users/rexm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexm/subscriptions","organizations_url":"https://api.github.com/users/rexm/orgs","repos_url":"https://api.github.com/users/rexm/repos","events_url":"https://api.github.com/users/rexm/events{/privacy}","received_events_url":"https://api.github.com/users/rexm/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T00:54:01Z","updated_at":"2016-02-11T00:54:01Z","body":"Most of that doesn't actually sound too bad... Modifying the Partial to be able to have a child Expression property which is accumulated the same way any other expression would be sounds like a minor change. We already have cases where words are resolved down to ConstantExpressions, a simple partial statement could follow that and anything more complex would follow existing SubExpr logic, like you said.\r\n\r\nUltimately the > token would need to represent the partial expression with an input Expression that resolves to a string value. Not bad at all...\r\n\r\nAnd I guess just need to add a member type check for method to the PathBinder, because as I understand it, the function in question is actually on the model, not a registered helper, right?\r\n\r\n"}}