{"action":"created","issue":{"url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/128","repository_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint","labels_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/128/comments","events_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/128/events","html_url":"https://github.com/MeirionHughes/aurelia-template-lint/issues/128","id":181759828,"number":128,"title":"report invalid references from `@computedFrom`","user":{"login":"atsu85","id":1206512,"avatar_url":"https://avatars.githubusercontent.com/u/1206512?v=3","gravatar_id":"","url":"https://api.github.com/users/atsu85","html_url":"https://github.com/atsu85","followers_url":"https://api.github.com/users/atsu85/followers","following_url":"https://api.github.com/users/atsu85/following{/other_user}","gists_url":"https://api.github.com/users/atsu85/gists{/gist_id}","starred_url":"https://api.github.com/users/atsu85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsu85/subscriptions","organizations_url":"https://api.github.com/users/atsu85/orgs","repos_url":"https://api.github.com/users/atsu85/repos","events_url":"https://api.github.com/users/atsu85/events{/privacy}","received_events_url":"https://api.github.com/users/atsu85/received_events","type":"User","site_admin":false},"labels":[{"id":382383605,"url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/labels/feature-request","name":"feature-request","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"MeirionHughes","id":3584509,"avatar_url":"https://avatars.githubusercontent.com/u/3584509?v=3","gravatar_id":"","url":"https://api.github.com/users/MeirionHughes","html_url":"https://github.com/MeirionHughes","followers_url":"https://api.github.com/users/MeirionHughes/followers","following_url":"https://api.github.com/users/MeirionHughes/following{/other_user}","gists_url":"https://api.github.com/users/MeirionHughes/gists{/gist_id}","starred_url":"https://api.github.com/users/MeirionHughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeirionHughes/subscriptions","organizations_url":"https://api.github.com/users/MeirionHughes/orgs","repos_url":"https://api.github.com/users/MeirionHughes/repos","events_url":"https://api.github.com/users/MeirionHughes/events{/privacy}","received_events_url":"https://api.github.com/users/MeirionHughes/received_events","type":"User","site_admin":false},"assignees":[{"login":"MeirionHughes","id":3584509,"avatar_url":"https://avatars.githubusercontent.com/u/3584509?v=3","gravatar_id":"","url":"https://api.github.com/users/MeirionHughes","html_url":"https://github.com/MeirionHughes","followers_url":"https://api.github.com/users/MeirionHughes/followers","following_url":"https://api.github.com/users/MeirionHughes/following{/other_user}","gists_url":"https://api.github.com/users/MeirionHughes/gists{/gist_id}","starred_url":"https://api.github.com/users/MeirionHughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeirionHughes/subscriptions","organizations_url":"https://api.github.com/users/MeirionHughes/orgs","repos_url":"https://api.github.com/users/MeirionHughes/repos","events_url":"https://api.github.com/users/MeirionHughes/events{/privacy}","received_events_url":"https://api.github.com/users/MeirionHughes/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/milestones/11","html_url":"https://github.com/MeirionHughes/aurelia-template-lint/milestones/0.10","labels_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/milestones/11/labels","id":1873759,"number":11,"title":"0.10","description":"","creator":{"login":"MeirionHughes","id":3584509,"avatar_url":"https://avatars.githubusercontent.com/u/3584509?v=3","gravatar_id":"","url":"https://api.github.com/users/MeirionHughes","html_url":"https://github.com/MeirionHughes","followers_url":"https://api.github.com/users/MeirionHughes/followers","following_url":"https://api.github.com/users/MeirionHughes/following{/other_user}","gists_url":"https://api.github.com/users/MeirionHughes/gists{/gist_id}","starred_url":"https://api.github.com/users/MeirionHughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeirionHughes/subscriptions","organizations_url":"https://api.github.com/users/MeirionHughes/orgs","repos_url":"https://api.github.com/users/MeirionHughes/repos","events_url":"https://api.github.com/users/MeirionHughes/events{/privacy}","received_events_url":"https://api.github.com/users/MeirionHughes/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":1,"state":"open","created_at":"2016-07-09T19:48:29Z","updated_at":"2016-12-05T10:19:50Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-10-07T20:23:45Z","updated_at":"2016-12-05T10:28:32Z","closed_at":null,"body":"Following\n\n``` TypeScript\n      export class Foo{\n        field1: number;\n        field2: number;\n\n        @computedFrom(\"field1\", \"missingField1\", \"field2\", \"missingField2\")\n        get computedField(){\n          return this.field1 + this.field2;\n        }\n      }\n```\n\n``` HTML\n      <template>\n        \\${computedField}\n      </template>\n```\n\nshould report that missingField1 and missingField2 can't be found in type Foo\n"},"comment":{"url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/comments/264818609","html_url":"https://github.com/MeirionHughes/aurelia-template-lint/issues/128#issuecomment-264818609","issue_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/128","id":264818609,"user":{"login":"MeirionHughes","id":3584509,"avatar_url":"https://avatars.githubusercontent.com/u/3584509?v=3","gravatar_id":"","url":"https://api.github.com/users/MeirionHughes","html_url":"https://github.com/MeirionHughes","followers_url":"https://api.github.com/users/MeirionHughes/followers","following_url":"https://api.github.com/users/MeirionHughes/following{/other_user}","gists_url":"https://api.github.com/users/MeirionHughes/gists{/gist_id}","starred_url":"https://api.github.com/users/MeirionHughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeirionHughes/subscriptions","organizations_url":"https://api.github.com/users/MeirionHughes/orgs","repos_url":"https://api.github.com/users/MeirionHughes/repos","events_url":"https://api.github.com/users/MeirionHughes/events{/privacy}","received_events_url":"https://api.github.com/users/MeirionHughes/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T10:28:32Z","updated_at":"2016-12-05T10:28:32Z","body":"Disabled this as of 0.9.18. will reimplement in reworked code. \r\n\r\nThis line https://github.com/MeirionHughes/aurelia-template-lint/blob/develop/source/rules/binding.ts#L504 results in errors if the property is part of a class that is imported by the view-model. \r\n\r\nIn reworked code its easier to break this up into two processes: firstly to check that that view->viewmodel link is valid, in html file checks; and secondly to check the `@computedFrom` decorators, when processing source files. "}}
{"actor":{"display_login":"MeirionHughes"}}