{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/framework/issues/300","labels_url":"https://api.github.com/repos/aurelia/framework/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/framework/issues/300/comments","events_url":"https://api.github.com/repos/aurelia/framework/issues/300/events","html_url":"https://github.com/aurelia/framework/issues/300","id":127680739,"number":300,"title":"@computedFrom not working in TypeScript","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-20T13:21:13Z","updated_at":"2016-01-20T23:52:17Z","closed_at":null,"body":"The `@computedFrom` appears to have no effect in TypeScript.\r\nFor example (based on the current TypeScript skeleton):\r\n```\r\n  firstName = 'John';\r\n  _lastName:string = 'Doe';\r\n  previousValue = this.fullName;\r\n\r\n  @computedFrom('_lastName')\r\n  get lastName()\r\n    {\r\n      console.log('Reading LastName', new Date());\r\n      return this._lastName;\r\n    }\r\n  set lastName(val)\r\n    {\r\n      console.log('Lastname changed from ',this._lastName, 'to', val);\r\n      this._lastName = val;\r\n    }\r\n```\r\nThe message shows polling every 120ms.\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/framework/issues/comments/173405942","html_url":"https://github.com/aurelia/framework/issues/300#issuecomment-173405942","issue_url":"https://api.github.com/repos/aurelia/framework/issues/300","id":173405942,"user":{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars.githubusercontent.com/u/131485?v=3","gravatar_id":"","url":"https://api.github.com/users/EisenbergEffect","html_url":"https://github.com/EisenbergEffect","followers_url":"https://api.github.com/users/EisenbergEffect/followers","following_url":"https://api.github.com/users/EisenbergEffect/following{/other_user}","gists_url":"https://api.github.com/users/EisenbergEffect/gists{/gist_id}","starred_url":"https://api.github.com/users/EisenbergEffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EisenbergEffect/subscriptions","organizations_url":"https://api.github.com/users/EisenbergEffect/orgs","repos_url":"https://api.github.com/users/EisenbergEffect/repos","events_url":"https://api.github.com/users/EisenbergEffect/events{/privacy}","received_events_url":"https://api.github.com/users/EisenbergEffect/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T23:52:17Z","updated_at":"2016-01-20T23:52:17Z","body":"It doesn't poll every property...just the fullName property. That just happens to be computed from firstName and lastName, so those get accessed too as part of the access of fullName."}}