{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/3584","labels_url":"https://api.github.com/repos/meteor/meteor/issues/3584/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/3584/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/3584/events","html_url":"https://github.com/meteor/meteor/issues/3584","id":55891771,"number":3584,"title":"In templates: accessing property of a helper called with an argument","user":{"login":"wtfuii","id":5493872,"avatar_url":"https://avatars.githubusercontent.com/u/5493872?v=3","gravatar_id":"","url":"https://api.github.com/users/wtfuii","html_url":"https://github.com/wtfuii","followers_url":"https://api.github.com/users/wtfuii/followers","following_url":"https://api.github.com/users/wtfuii/following{/other_user}","gists_url":"https://api.github.com/users/wtfuii/gists{/gist_id}","starred_url":"https://api.github.com/users/wtfuii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtfuii/subscriptions","organizations_url":"https://api.github.com/users/wtfuii/orgs","repos_url":"https://api.github.com/users/wtfuii/repos","events_url":"https://api.github.com/users/wtfuii/events{/privacy}","received_events_url":"https://api.github.com/users/wtfuii/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Blaze","name":"Project:Blaze","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-29T12:15:01Z","updated_at":"2015-01-30T18:22:26Z","closed_at":null,"body":"Given the following situation:\r\n\r\nhelper:\r\n```javascript\r\nTemplate.a.helpers: {\r\n    helper1: function(argument) {\r\n        return {a: \"b\", c: \"2\", d: argument)\r\n    }\r\n}\r\n```\r\n\r\nI retrieve the whole object by calling\r\n```{{helper1 myargument}}```\r\n\r\nNow I would like to access a property of the returned object within my template. The only way I found to achieve this, is to wrap the call with a  ```{{#with}}``` statement, which is serious overhead for retrieving a property of an object.\r\n\r\nIs there an easier way to achive this? A simple dot-notation as we know it from objects without arguments would be awesome."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/72245941","html_url":"https://github.com/meteor/meteor/issues/3584#issuecomment-72245941","issue_url":"https://api.github.com/repos/meteor/meteor/issues/3584","id":72245941,"user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T18:22:26Z","updated_at":"2015-01-30T18:22:26Z","body":"yeah I think we are hoping to work on this kind of project soon - basically enabling more JavaScript syntax inside of Spacebars."}}