{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/horizon/issues/541","repository_url":"https://api.github.com/repos/rethinkdb/horizon","labels_url":"https://api.github.com/repos/rethinkdb/horizon/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/horizon/issues/541/comments","events_url":"https://api.github.com/repos/rethinkdb/horizon/issues/541/events","html_url":"https://github.com/rethinkdb/horizon/issues/541","id":157438458,"number":541,"title":"defaultIfEmpty() problem","user":{"login":"hnordt","id":1625399,"avatar_url":"https://avatars.githubusercontent.com/u/1625399?v=3","gravatar_id":"","url":"https://api.github.com/users/hnordt","html_url":"https://github.com/hnordt","followers_url":"https://api.github.com/users/hnordt/followers","following_url":"https://api.github.com/users/hnordt/following{/other_user}","gists_url":"https://api.github.com/users/hnordt/gists{/gist_id}","starred_url":"https://api.github.com/users/hnordt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hnordt/subscriptions","organizations_url":"https://api.github.com/users/hnordt/orgs","repos_url":"https://api.github.com/users/hnordt/repos","events_url":"https://api.github.com/users/hnordt/events{/privacy}","received_events_url":"https://api.github.com/users/hnordt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/horizon/labels/bug","name":"bug","color":"EF6572"},{"url":"https://api.github.com/repos/rethinkdb/horizon/labels/build%20system","name":"build system","color":"B5BAB4"},{"url":"https://api.github.com/repos/rethinkdb/horizon/labels/client","name":"client","color":"00d2a5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/horizon/milestones/7","html_url":"https://github.com/rethinkdb/horizon/milestones/Next%20Major%20Release","labels_url":"https://api.github.com/repos/rethinkdb/horizon/milestones/7/labels","id":1775020,"number":7,"title":"Next Major Release","description":"backwards compatibility breaking","creator":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":3,"state":"open","created_at":"2016-05-18T21:30:33Z","updated_at":"2016-05-31T23:22:27Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-30T06:21:22Z","updated_at":"2016-05-31T23:23:32Z","closed_at":null,"body":"When I try to use `defaultIfEmpty()` with Horizon 1.0.3 I receive this error:\r\n\r\n```\r\nTypeError: (0 , _horizon2.default)(...).find(...).fetch(...).defaultIfEmpty is not a function(…)\r\n```\r\n\r\nMy code:\r\n\r\n```js\r\nimport Horizon from '@horizon/client'\r\nimport 'rxjs/add/operator/defaultIfEmpty'\r\n\r\nconst horizon = Horizon()\r\n\r\nhorizon('contacts')\r\n  .find(1)\r\n  .fetch()\r\n  .defaultIfEmpty({})\r\n  .subscribe(contact => console.warn(contact)\r\n```"},"comment":{"url":"https://api.github.com/repos/rethinkdb/horizon/issues/comments/222850513","html_url":"https://github.com/rethinkdb/horizon/issues/541#issuecomment-222850513","issue_url":"https://api.github.com/repos/rethinkdb/horizon/issues/541","id":222850513,"user":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T23:23:32Z","updated_at":"2016-05-31T23:23:32Z","body":"I think I'm going to try to solve this as part of #532 , but I'll leave this open to make sure it gets fixed explicitly"}}
{"actor":{"display_login":"deontologician"}}