{"action":"opened","number":358,"pull_request":{"url":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/358","id":79175356,"html_url":"https://github.com/Urigo/angular2-meteor/pull/358","diff_url":"https://github.com/Urigo/angular2-meteor/pull/358.diff","patch_url":"https://github.com/Urigo/angular2-meteor/pull/358.patch","issue_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/358","number":358,"state":"open","locked":false,"title":"Added MeteorObservables and MongoObservables wrappers with RxJS","user":{"login":"dotansimha","id":3680083,"avatar_url":"https://avatars.githubusercontent.com/u/3680083?v=3","gravatar_id":"","url":"https://api.github.com/users/dotansimha","html_url":"https://github.com/dotansimha","followers_url":"https://api.github.com/users/dotansimha/followers","following_url":"https://api.github.com/users/dotansimha/following{/other_user}","gists_url":"https://api.github.com/users/dotansimha/gists{/gist_id}","starred_url":"https://api.github.com/users/dotansimha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotansimha/subscriptions","organizations_url":"https://api.github.com/users/dotansimha/orgs","repos_url":"https://api.github.com/users/dotansimha/repos","events_url":"https://api.github.com/users/dotansimha/events{/privacy}","received_events_url":"https://api.github.com/users/dotansimha/received_events","type":"User","site_admin":false},"body":"@Urigo \r\n\r\nUsage example for Collection and Cursor:\r\n```\r\nlet collection = new MongoObservable.Collection(\"test\");\r\nlet ob : Observable = collection.find({});\r\nob.subscribe((col) => {\r\n   console.log(\"new data:\", col);\r\n});\r\n```\r\n\r\nAnd then in the View:\r\n```\r\n<div *ngFor=\"let item of ob | async\"></div>\r\n```\r\n\r\nUsage example for Meteor.call:\r\n```\r\nMeteorObservable.call(\"myMethod\").subscribe((response) => {\r\n   console.log(\"server response:\", response);\r\n}, (error : Meteor.Error) => {\r\n   console.log(\"Error!\", error);\r\n});\r\n```\r\n\r\nUsage example for Meteor.subscribe:\r\n```\r\nMeteorObservable.subscribe(\"myMethod\").subscribe(() => {\r\n   console.log(\"ready!\");\r\n}, (error : Meteor.Error) => {\r\n   console.log(\"Error!\", error);\r\n});\r\n```","created_at":"2016-07-28T10:55:51Z","updated_at":"2016-07-28T10:55:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/358/commits","review_comments_url":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/358/comments","review_comment_url":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/358/comments","statuses_url":"https://api.github.com/repos/Urigo/angular2-meteor/statuses/b58108f52a1cff9f567284a555a00ea991255c34","head":{"label":"Urigo:feautre/observables","ref":"feautre/observables","sha":"b58108f52a1cff9f567284a555a00ea991255c34","user":{"login":"Urigo","id":1297448,"avatar_url":"https://avatars.githubusercontent.com/u/1297448?v=3","gravatar_id":"","url":"https://api.github.com/users/Urigo","html_url":"https://github.com/Urigo","followers_url":"https://api.github.com/users/Urigo/followers","following_url":"https://api.github.com/users/Urigo/following{/other_user}","gists_url":"https://api.github.com/users/Urigo/gists{/gist_id}","starred_url":"https://api.github.com/users/Urigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urigo/subscriptions","organizations_url":"https://api.github.com/users/Urigo/orgs","repos_url":"https://api.github.com/users/Urigo/repos","events_url":"https://api.github.com/users/Urigo/events{/privacy}","received_events_url":"https://api.github.com/users/Urigo/received_events","type":"User","site_admin":false},"repo":{"id":40969713,"name":"angular2-meteor","full_name":"Urigo/angular2-meteor","owner":{"login":"Urigo","id":1297448,"avatar_url":"https://avatars.githubusercontent.com/u/1297448?v=3","gravatar_id":"","url":"https://api.github.com/users/Urigo","html_url":"https://github.com/Urigo","followers_url":"https://api.github.com/users/Urigo/followers","following_url":"https://api.github.com/users/Urigo/following{/other_user}","gists_url":"https://api.github.com/users/Urigo/gists{/gist_id}","starred_url":"https://api.github.com/users/Urigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urigo/subscriptions","organizations_url":"https://api.github.com/users/Urigo/orgs","repos_url":"https://api.github.com/users/Urigo/repos","events_url":"https://api.github.com/users/Urigo/events{/privacy}","received_events_url":"https://api.github.com/users/Urigo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Urigo/angular2-meteor","description":"Angular 2.0 and Meteor - the perfect stack","fork":false,"url":"https://api.github.com/repos/Urigo/angular2-meteor","forks_url":"https://api.github.com/repos/Urigo/angular2-meteor/forks","keys_url":"https://api.github.com/repos/Urigo/angular2-meteor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Urigo/angular2-meteor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Urigo/angular2-meteor/teams","hooks_url":"https://api.github.com/repos/Urigo/angular2-meteor/hooks","issue_events_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/events{/number}","events_url":"https://api.github.com/repos/Urigo/angular2-meteor/events","assignees_url":"https://api.github.com/repos/Urigo/angular2-meteor/assignees{/user}","branches_url":"https://api.github.com/repos/Urigo/angular2-meteor/branches{/branch}","tags_url":"https://api.github.com/repos/Urigo/angular2-meteor/tags","blobs_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Urigo/angular2-meteor/statuses/{sha}","languages_url":"https://api.github.com/repos/Urigo/angular2-meteor/languages","stargazers_url":"https://api.github.com/repos/Urigo/angular2-meteor/stargazers","contributors_url":"https://api.github.com/repos/Urigo/angular2-meteor/contributors","subscribers_url":"https://api.github.com/repos/Urigo/angular2-meteor/subscribers","subscription_url":"https://api.github.com/repos/Urigo/angular2-meteor/subscription","commits_url":"https://api.github.com/repos/Urigo/angular2-meteor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Urigo/angular2-meteor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Urigo/angular2-meteor/contents/{+path}","compare_url":"https://api.github.com/repos/Urigo/angular2-meteor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Urigo/angular2-meteor/merges","archive_url":"https://api.github.com/repos/Urigo/angular2-meteor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Urigo/angular2-meteor/downloads","issues_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues{/number}","pulls_url":"https://api.github.com/repos/Urigo/angular2-meteor/pulls{/number}","milestones_url":"https://api.github.com/repos/Urigo/angular2-meteor/milestones{/number}","notifications_url":"https://api.github.com/repos/Urigo/angular2-meteor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Urigo/angular2-meteor/labels{/name}","releases_url":"https://api.github.com/repos/Urigo/angular2-meteor/releases{/id}","deployments_url":"https://api.github.com/repos/Urigo/angular2-meteor/deployments","created_at":"2015-08-18T12:06:44Z","updated_at":"2016-07-28T09:22:48Z","pushed_at":"2016-07-28T10:55:51Z","git_url":"git://github.com/Urigo/angular2-meteor.git","ssh_url":"git@github.com:Urigo/angular2-meteor.git","clone_url":"https://github.com/Urigo/angular2-meteor.git","svn_url":"https://github.com/Urigo/angular2-meteor","homepage":"http://www.angular-meteor.com/","size":1282,"stargazers_count":286,"watchers_count":286,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":15,"forks":77,"open_issues":15,"watchers":286,"default_branch":"master"}},"base":{"label":"Urigo:master","ref":"master","sha":"0a7aa97ac6a41203258a6c31a0679f1150932d3f","user":{"login":"Urigo","id":1297448,"avatar_url":"https://avatars.githubusercontent.com/u/1297448?v=3","gravatar_id":"","url":"https://api.github.com/users/Urigo","html_url":"https://github.com/Urigo","followers_url":"https://api.github.com/users/Urigo/followers","following_url":"https://api.github.com/users/Urigo/following{/other_user}","gists_url":"https://api.github.com/users/Urigo/gists{/gist_id}","starred_url":"https://api.github.com/users/Urigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urigo/subscriptions","organizations_url":"https://api.github.com/users/Urigo/orgs","repos_url":"https://api.github.com/users/Urigo/repos","events_url":"https://api.github.com/users/Urigo/events{/privacy}","received_events_url":"https://api.github.com/users/Urigo/received_events","type":"User","site_admin":false},"repo":{"id":40969713,"name":"angular2-meteor","full_name":"Urigo/angular2-meteor","owner":{"login":"Urigo","id":1297448,"avatar_url":"https://avatars.githubusercontent.com/u/1297448?v=3","gravatar_id":"","url":"https://api.github.com/users/Urigo","html_url":"https://github.com/Urigo","followers_url":"https://api.github.com/users/Urigo/followers","following_url":"https://api.github.com/users/Urigo/following{/other_user}","gists_url":"https://api.github.com/users/Urigo/gists{/gist_id}","starred_url":"https://api.github.com/users/Urigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urigo/subscriptions","organizations_url":"https://api.github.com/users/Urigo/orgs","repos_url":"https://api.github.com/users/Urigo/repos","events_url":"https://api.github.com/users/Urigo/events{/privacy}","received_events_url":"https://api.github.com/users/Urigo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Urigo/angular2-meteor","description":"Angular 2.0 and Meteor - the perfect stack","fork":false,"url":"https://api.github.com/repos/Urigo/angular2-meteor","forks_url":"https://api.github.com/repos/Urigo/angular2-meteor/forks","keys_url":"https://api.github.com/repos/Urigo/angular2-meteor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Urigo/angular2-meteor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Urigo/angular2-meteor/teams","hooks_url":"https://api.github.com/repos/Urigo/angular2-meteor/hooks","issue_events_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/events{/number}","events_url":"https://api.github.com/repos/Urigo/angular2-meteor/events","assignees_url":"https://api.github.com/repos/Urigo/angular2-meteor/assignees{/user}","branches_url":"https://api.github.com/repos/Urigo/angular2-meteor/branches{/branch}","tags_url":"https://api.github.com/repos/Urigo/angular2-meteor/tags","blobs_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Urigo/angular2-meteor/statuses/{sha}","languages_url":"https://api.github.com/repos/Urigo/angular2-meteor/languages","stargazers_url":"https://api.github.com/repos/Urigo/angular2-meteor/stargazers","contributors_url":"https://api.github.com/repos/Urigo/angular2-meteor/contributors","subscribers_url":"https://api.github.com/repos/Urigo/angular2-meteor/subscribers","subscription_url":"https://api.github.com/repos/Urigo/angular2-meteor/subscription","commits_url":"https://api.github.com/repos/Urigo/angular2-meteor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Urigo/angular2-meteor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Urigo/angular2-meteor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Urigo/angular2-meteor/contents/{+path}","compare_url":"https://api.github.com/repos/Urigo/angular2-meteor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Urigo/angular2-meteor/merges","archive_url":"https://api.github.com/repos/Urigo/angular2-meteor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Urigo/angular2-meteor/downloads","issues_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues{/number}","pulls_url":"https://api.github.com/repos/Urigo/angular2-meteor/pulls{/number}","milestones_url":"https://api.github.com/repos/Urigo/angular2-meteor/milestones{/number}","notifications_url":"https://api.github.com/repos/Urigo/angular2-meteor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Urigo/angular2-meteor/labels{/name}","releases_url":"https://api.github.com/repos/Urigo/angular2-meteor/releases{/id}","deployments_url":"https://api.github.com/repos/Urigo/angular2-meteor/deployments","created_at":"2015-08-18T12:06:44Z","updated_at":"2016-07-28T09:22:48Z","pushed_at":"2016-07-28T10:55:51Z","git_url":"git://github.com/Urigo/angular2-meteor.git","ssh_url":"git@github.com:Urigo/angular2-meteor.git","clone_url":"https://github.com/Urigo/angular2-meteor.git","svn_url":"https://github.com/Urigo/angular2-meteor","homepage":"http://www.angular-meteor.com/","size":1282,"stargazers_count":286,"watchers_count":286,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":15,"forks":77,"open_issues":15,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/358"},"html":{"href":"https://github.com/Urigo/angular2-meteor/pull/358"},"issue":{"href":"https://api.github.com/repos/Urigo/angular2-meteor/issues/358"},"comments":{"href":"https://api.github.com/repos/Urigo/angular2-meteor/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Urigo/angular2-meteor/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/Urigo/angular2-meteor/statuses/b58108f52a1cff9f567284a555a00ea991255c34"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":730,"deletions":2,"changed_files":26}}
{"actor":{"display_login":"dotansimha"}}