{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/validation/issues/216","repository_url":"https://api.github.com/repos/aurelia/validation","labels_url":"https://api.github.com/repos/aurelia/validation/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/validation/issues/216/comments","events_url":"https://api.github.com/repos/aurelia/validation/issues/216/events","html_url":"https://github.com/aurelia/validation/issues/216","id":132801986,"number":216,"title":"@ensure decorator is being ignored in 0.6.2","user":{"login":"mujimu","id":850016,"avatar_url":"https://avatars.githubusercontent.com/u/850016?v=3","gravatar_id":"","url":"https://api.github.com/users/mujimu","html_url":"https://github.com/mujimu","followers_url":"https://api.github.com/users/mujimu/followers","following_url":"https://api.github.com/users/mujimu/following{/other_user}","gists_url":"https://api.github.com/users/mujimu/gists{/gist_id}","starred_url":"https://api.github.com/users/mujimu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mujimu/subscriptions","organizations_url":"https://api.github.com/users/mujimu/orgs","repos_url":"https://api.github.com/users/mujimu/repos","events_url":"https://api.github.com/users/mujimu/events{/privacy}","received_events_url":"https://api.github.com/users/mujimu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-10T20:00:33Z","updated_at":"2016-02-24T11:48:14Z","closed_at":null,"body":"Pulled latest npm:aurelia-validation@0.6.2 in a _jspm update_ on my project - and validation was suddenly coming back successful on data that should fail.   \r\n\r\nI utilize @ensure decorator within my application. After some debugging, it seemed any validation I did with a direct .ensure() call worked as intended, while any with @ensure decorator simply didn't attempt that rule (it just passed).  It seems the decorator is simply ignored.\r\n\r\nI just now cloned latest master. Ran tests. Initially had error with aurelia-pal so ran _jspm update_ which alleviated it. Ran tests again, and found that decorator test is failing...\r\n\r\n```\r\nChrome 48.0.2564 (Mac OS X 10.9.5) Tests on using decorators to set up validation on a single property that is invalid FAILED\r\n\tExpected true to be false.\r\n```\r\n\r\nThe other test (on a single property that is valid) passed as it is always coming back true (rules are ignored).\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/validation/issues/comments/188215765","html_url":"https://github.com/aurelia/validation/issues/216#issuecomment-188215765","issue_url":"https://api.github.com/repos/aurelia/validation/issues/216","id":188215765,"user":{"login":"jsobell","id":834155,"avatar_url":"https://avatars.githubusercontent.com/u/834155?v=3","gravatar_id":"","url":"https://api.github.com/users/jsobell","html_url":"https://github.com/jsobell","followers_url":"https://api.github.com/users/jsobell/followers","following_url":"https://api.github.com/users/jsobell/following{/other_user}","gists_url":"https://api.github.com/users/jsobell/gists{/gist_id}","starred_url":"https://api.github.com/users/jsobell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsobell/subscriptions","organizations_url":"https://api.github.com/users/jsobell/orgs","repos_url":"https://api.github.com/users/jsobell/repos","events_url":"https://api.github.com/users/jsobell/events{/privacy}","received_events_url":"https://api.github.com/users/jsobell/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T11:48:14Z","updated_at":"2016-02-24T11:48:14Z","body":"Nope, scrap that. It's something to do with the difference between to ES7 shim version and aurelia-metadata's version.  On the core shim the read of the metadata is empty.\r\nThe metadata assigned at https://github.com/aurelia/metadata/blob/master/src/metadata.js#L67 is not returned when later read through https://github.com/aurelia/metadata/blob/master/src/metadata.js#L60 despite having the same values.\r\nAs this is done elsewhere for resources and binding I'm at a loss as to why it fails for the validation key."}}