{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/400","repository_url":"https://api.github.com/repos/Urigo/angular2-meteor","labels_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/400/comments","events_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/400/events","html_url":"https://github.com/Urigo/angular2-meteor/issues/400","id":179104272,"number":400,"title":"Angular2 change detection / Tracker.autorun","user":{"login":"stefanholzapfel","id":9963536,"avatar_url":"https://avatars.githubusercontent.com/u/9963536?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanholzapfel","html_url":"https://github.com/stefanholzapfel","followers_url":"https://api.github.com/users/stefanholzapfel/followers","following_url":"https://api.github.com/users/stefanholzapfel/following{/other_user}","gists_url":"https://api.github.com/users/stefanholzapfel/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanholzapfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanholzapfel/subscriptions","organizations_url":"https://api.github.com/users/stefanholzapfel/orgs","repos_url":"https://api.github.com/users/stefanholzapfel/repos","events_url":"https://api.github.com/users/stefanholzapfel/events{/privacy}","received_events_url":"https://api.github.com/users/stefanholzapfel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-09-25T19:35:18Z","updated_at":"2016-10-05T17:16:16Z","closed_at":"2016-09-26T20:51:01Z","body":"Hi!\r\n\r\nJust stumbled across a problem that seems to be new.\r\n\r\nI have a data service where I use observables:\r\n\r\n```\r\nthis.autorun(() => {\r\nlet data = collection.find(publicationName).fetch();\r\ndataStore$.next(data);\r\n}\r\n```\r\n\r\nThe observable (or BehaviorSubject to be precise) dataStore$ works as expected, but after initial loading, when further changes are triggered via the database from another client, the change arrives in the observable but doesn't trigger Angular change detection and therefore is not displayed.\r\n\r\nI can swear the same code was working before the upgrade to Angular2 2.0.1 / Angular2Meteor 0.7.0-beta.3\r\n\r\nAny ideas? Thx!"},"comment":{"url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/comments/251738968","html_url":"https://github.com/Urigo/angular2-meteor/issues/400#issuecomment-251738968","issue_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/400","id":251738968,"user":{"login":"stefanholzapfel","id":9963536,"avatar_url":"https://avatars.githubusercontent.com/u/9963536?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanholzapfel","html_url":"https://github.com/stefanholzapfel","followers_url":"https://api.github.com/users/stefanholzapfel/followers","following_url":"https://api.github.com/users/stefanholzapfel/following{/other_user}","gists_url":"https://api.github.com/users/stefanholzapfel/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanholzapfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanholzapfel/subscriptions","organizations_url":"https://api.github.com/users/stefanholzapfel/orgs","repos_url":"https://api.github.com/users/stefanholzapfel/repos","events_url":"https://api.github.com/users/stefanholzapfel/events{/privacy}","received_events_url":"https://api.github.com/users/stefanholzapfel/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T17:16:16Z","updated_at":"2016-10-05T17:16:16Z","body":"@barbatus Ahhh....That explains it, I'm using Meteor's autorun method and wrap it into an observable manually. \r\n\r\nBut still funny that it was working before the update, didn't change anything in my dataservice.\r\n\r\nBut nevermind, I will just inject the zone in the dataservice and run the zone manually."}}
{"actor":{"display_login":"stefanholzapfel"}}