{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/templating/issues/257","repository_url":"https://api.github.com/repos/aurelia/templating","labels_url":"https://api.github.com/repos/aurelia/templating/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating/issues/257/comments","events_url":"https://api.github.com/repos/aurelia/templating/issues/257/events","html_url":"https://github.com/aurelia/templating/issues/257","id":130913249,"number":257,"title":"Call `changed` callbacks after all bound properties are assigned during the initial bind phase","user":{"login":"sylvain-hamel","id":1754010,"avatar_url":"https://avatars2.githubusercontent.com/u/1754010?v=4","gravatar_id":"","url":"https://api.github.com/users/sylvain-hamel","html_url":"https://github.com/sylvain-hamel","followers_url":"https://api.github.com/users/sylvain-hamel/followers","following_url":"https://api.github.com/users/sylvain-hamel/following{/other_user}","gists_url":"https://api.github.com/users/sylvain-hamel/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvain-hamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvain-hamel/subscriptions","organizations_url":"https://api.github.com/users/sylvain-hamel/orgs","repos_url":"https://api.github.com/users/sylvain-hamel/repos","events_url":"https://api.github.com/users/sylvain-hamel/events{/privacy}","received_events_url":"https://api.github.com/users/sylvain-hamel/received_events","type":"User","site_admin":false},"labels":[{"id":156032232,"url":"https://api.github.com/repos/aurelia/templating/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars0.githubusercontent.com/u/131485?v=4","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},"assignees":[{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars0.githubusercontent.com/u/131485?v=4","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}],"milestone":null,"comments":6,"created_at":"2016-02-03T05:03:15Z","updated_at":"2018-03-03T15:00:13Z","closed_at":null,"author_association":"NONE","body":"This is a request to change the timing of when `changed` callbacks are called during the `bind()` phase.\n\n**Current timing:** The `changed` callbacks are invoked progressively, as the bound properties are set. The order in which they are called is not guaranteed.\n\nTherefore this code does not work because in one `changed` callback the _other_ property will not be bound yet:\n\n```\n@bindable attr1;\n@bindable attr2;\nattr1Changed(){\n   this.DoSometingWith(this.attr1, this.attr2);\n}\nattr2Changed(){\n   this.DoSometingWith(this.attr1, this.attr2);\n}\n```\n\n**Proposed timing:** The `changed` callbacks should be invoked after all bound properties are set.\n\nI have already discussed this with @EisenbergEffect.\n"},"comment":{"url":"https://api.github.com/repos/aurelia/templating/issues/comments/370153513","html_url":"https://github.com/aurelia/templating/issues/257#issuecomment-370153513","issue_url":"https://api.github.com/repos/aurelia/templating/issues/257","id":370153513,"user":{"login":"Alexander-Taran","id":1029452,"avatar_url":"https://avatars2.githubusercontent.com/u/1029452?v=4","gravatar_id":"","url":"https://api.github.com/users/Alexander-Taran","html_url":"https://github.com/Alexander-Taran","followers_url":"https://api.github.com/users/Alexander-Taran/followers","following_url":"https://api.github.com/users/Alexander-Taran/following{/other_user}","gists_url":"https://api.github.com/users/Alexander-Taran/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexander-Taran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexander-Taran/subscriptions","organizations_url":"https://api.github.com/users/Alexander-Taran/orgs","repos_url":"https://api.github.com/users/Alexander-Taran/repos","events_url":"https://api.github.com/users/Alexander-Taran/events{/privacy}","received_events_url":"https://api.github.com/users/Alexander-Taran/received_events","type":"User","site_admin":false},"created_at":"2018-03-03T15:00:13Z","updated_at":"2018-03-03T15:00:13Z","author_association":"NONE","body":"could not find the issue recently closed by @EisenbergEffect \r\nwith a comment that a new lifecycle event 'bound' will be introduced in vNext\r\n\r\nguess that would solve this\r\n\r\nmaybe can be closed"}}
{"actor":{"display_login":"Alexander-Taran"}}