{"action":"closed","issue":{"url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1881","repository_url":"https://api.github.com/repos/ReactiveX/rxjs","labels_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1881/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1881/comments","events_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1881/events","html_url":"https://github.com/ReactiveX/rxjs/issues/1881","id":171075577,"number":1881,"title":"Distinct operator doesn't work as expected","user":{"login":"vlad-bezden","id":10314673,"avatar_url":"https://avatars.githubusercontent.com/u/10314673?v=3","gravatar_id":"","url":"https://api.github.com/users/vlad-bezden","html_url":"https://github.com/vlad-bezden","followers_url":"https://api.github.com/users/vlad-bezden/followers","following_url":"https://api.github.com/users/vlad-bezden/following{/other_user}","gists_url":"https://api.github.com/users/vlad-bezden/gists{/gist_id}","starred_url":"https://api.github.com/users/vlad-bezden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlad-bezden/subscriptions","organizations_url":"https://api.github.com/users/vlad-bezden/orgs","repos_url":"https://api.github.com/users/vlad-bezden/repos","events_url":"https://api.github.com/users/vlad-bezden/events{/privacy}","received_events_url":"https://api.github.com/users/vlad-bezden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-14T19:57:49Z","updated_at":"2016-08-14T22:19:28Z","closed_at":"2016-08-14T22:19:28Z","body":"<!--\r\nThank you for raising your concerns, we appreciate your feedback and contributions to this repository.\r\n\r\nBefore you continue, consider the following:\r\n\r\nIf you have a \"How do I do ...?\" question, it is better for you and for us that this question is placed in [StackOverflow](http://stackoverflow.com/questions/tagged/rxjs5) or some chat channel. This way, you are making it easier for others to learn from your experiences too.\r\n\r\nThese \"Issues\" are meant only for technical problems, bugs, and proposals related to the library.\r\n\r\nIf your issue is a bug, please follow the format below:\r\n-->\r\n\r\n**RxJS@5.0.0-beta.11**\r\n\r\n** Code to reproduce:**\r\n```\r\n'use strict'\r\nconst Observable = Rx.Observable;\r\n\r\nObservable.of({id: 1, value: 42}, \r\n\t\t\t\t\t\t\t{id: 2, value: 24}, \r\n\t\t\t\t\t\t\t{id: 3, value: 42}, \r\n\t\t\t\t\t\t\t{id: 4, value: 24})\r\n\t.distinct(x => x.value)\r\n\t.subscribe(x => console.log(x), \r\n\t\t\t\t\t\t err => log(err), \r\n\t\t\t\t\t\t () => 'complete')\r\n\r\n```\r\n**Expected behavior:**\r\n```\r\nObject {\r\n  id: 1,\r\n  value: 42\r\n}\r\nObject {\r\n  id: 2,\r\n  value: 24\r\n}\r\n\r\n```\r\n**Actual behavior:**\r\n```\r\nObject {\r\n  id: 1,\r\n  value: 42\r\n}\r\n```\r\n**Additional information:**\r\nYou can find examples of the code:\r\n[RxJS 4.1 Distinct Operator](http://codepen.io/vlad-bezden/pen/LkqZzJ?editors=0012)\r\n[RxJS @5.0.0-beta.11 Distinct Operator](http://codepen.io/vlad-bezden/pen/yJkpzr?editors=0012)"}}
{"actor":{"display_login":"kwonoj"}}