{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/nunjucks/issues/560","labels_url":"https://api.github.com/repos/mozilla/nunjucks/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/nunjucks/issues/560/comments","events_url":"https://api.github.com/repos/mozilla/nunjucks/issues/560/events","html_url":"https://github.com/mozilla/nunjucks/issues/560","id":112818541,"number":560,"title":"Does nunjucks 2.* support calling methods on context objects?","user":{"login":"dschissler","id":3968727,"avatar_url":"https://avatars.githubusercontent.com/u/3968727?v=3","gravatar_id":"","url":"https://api.github.com/users/dschissler","html_url":"https://github.com/dschissler","followers_url":"https://api.github.com/users/dschissler/followers","following_url":"https://api.github.com/users/dschissler/following{/other_user}","gists_url":"https://api.github.com/users/dschissler/gists{/gist_id}","starred_url":"https://api.github.com/users/dschissler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschissler/subscriptions","organizations_url":"https://api.github.com/users/dschissler/orgs","repos_url":"https://api.github.com/users/dschissler/repos","events_url":"https://api.github.com/users/dschissler/events{/privacy}","received_events_url":"https://api.github.com/users/dschissler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-22T14:44:04Z","updated_at":"2015-10-22T15:44:11Z","closed_at":null,"body":"With nunjucks 1.3 I was able to do the following: `{{ model.getName() }}` but with 2.0 I'm unable to do this."},"comment":{"url":"https://api.github.com/repos/mozilla/nunjucks/issues/comments/150267029","html_url":"https://github.com/mozilla/nunjucks/issues/560#issuecomment-150267029","issue_url":"https://api.github.com/repos/mozilla/nunjucks/issues/560","id":150267029,"user":{"login":"carljm","id":61586,"avatar_url":"https://avatars.githubusercontent.com/u/61586?v=3","gravatar_id":"","url":"https://api.github.com/users/carljm","html_url":"https://github.com/carljm","followers_url":"https://api.github.com/users/carljm/followers","following_url":"https://api.github.com/users/carljm/following{/other_user}","gists_url":"https://api.github.com/users/carljm/gists{/gist_id}","starred_url":"https://api.github.com/users/carljm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carljm/subscriptions","organizations_url":"https://api.github.com/users/carljm/orgs","repos_url":"https://api.github.com/users/carljm/repos","events_url":"https://api.github.com/users/carljm/events{/privacy}","received_events_url":"https://api.github.com/users/carljm/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T15:44:11Z","updated_at":"2015-10-22T15:44:11Z","body":"Yes, possibly -- especially if they really did work on 1.3. We don't need a new issue, you can just re-title this one. If the issue really is getters, it would be great to confirm that with a minimal reproduction case (sending an object with a getter into a template context) that doesn't rely on any other external frameworks like Ampersand. Even better if that repro case is provided as a new test case in the nunjucks test suite :-)"}}