{"action":"created","issue":{"url":"https://api.github.com/repos/mbosecke/pebble/issues/120","labels_url":"https://api.github.com/repos/mbosecke/pebble/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/mbosecke/pebble/issues/120/comments","events_url":"https://api.github.com/repos/mbosecke/pebble/issues/120/events","html_url":"https://github.com/mbosecke/pebble/pull/120","id":116703741,"number":120,"title":"Enum comparision","user":{"login":"thomashunziker","id":2227348,"avatar_url":"https://avatars.githubusercontent.com/u/2227348?v=3","gravatar_id":"","url":"https://api.github.com/users/thomashunziker","html_url":"https://github.com/thomashunziker","followers_url":"https://api.github.com/users/thomashunziker/followers","following_url":"https://api.github.com/users/thomashunziker/following{/other_user}","gists_url":"https://api.github.com/users/thomashunziker/gists{/gist_id}","starred_url":"https://api.github.com/users/thomashunziker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomashunziker/subscriptions","organizations_url":"https://api.github.com/users/thomashunziker/orgs","repos_url":"https://api.github.com/users/thomashunziker/repos","events_url":"https://api.github.com/users/thomashunziker/events{/privacy}","received_events_url":"https://api.github.com/users/thomashunziker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T05:36:55Z","updated_at":"2015-11-16T23:30:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mbosecke/pebble/pulls/120","html_url":"https://github.com/mbosecke/pebble/pull/120","diff_url":"https://github.com/mbosecke/pebble/pull/120.diff","patch_url":"https://github.com/mbosecke/pebble/pull/120.patch"},"body":"Within the equals expression I add support to compare enums with strings. E.g. the following works now:\r\n\r\n```\r\n{% if my.type == 'MY_ENUM_NAME' %}\r\n```"},"comment":{"url":"https://api.github.com/repos/mbosecke/pebble/issues/comments/157208492","html_url":"https://github.com/mbosecke/pebble/pull/120#issuecomment-157208492","issue_url":"https://api.github.com/repos/mbosecke/pebble/issues/120","id":157208492,"user":{"login":"ebussieres","id":10672519,"avatar_url":"https://avatars.githubusercontent.com/u/10672519?v=3","gravatar_id":"","url":"https://api.github.com/users/ebussieres","html_url":"https://github.com/ebussieres","followers_url":"https://api.github.com/users/ebussieres/followers","following_url":"https://api.github.com/users/ebussieres/following{/other_user}","gists_url":"https://api.github.com/users/ebussieres/gists{/gist_id}","starred_url":"https://api.github.com/users/ebussieres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebussieres/subscriptions","organizations_url":"https://api.github.com/users/ebussieres/orgs","repos_url":"https://api.github.com/users/ebussieres/repos","events_url":"https://api.github.com/users/ebussieres/events{/privacy}","received_events_url":"https://api.github.com/users/ebussieres/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T23:30:09Z","updated_at":"2015-11-16T23:30:09Z","body":"This expression doesn't work when accessing a map with an enum as a key. Should be in GetAttributeExpression I think\r\n\r\n```javascript\r\n{{ mymap.get('ENUM_ENTRY') }}\r\n```"}}