{"action":"created","issue":{"url":"https://api.github.com/repos/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/1","repository_url":"https://api.github.com/repos/enaukkarinen/Angular2-RxJS-Socket.io-chat-application","labels_url":"https://api.github.com/repos/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/1/comments","events_url":"https://api.github.com/repos/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/1/events","html_url":"https://github.com/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/1","id":185896209,"number":1,"title":"something wrong with BehaviorSubject for the socket.io","user":{"login":"helxsz","id":669670,"avatar_url":"https://avatars.githubusercontent.com/u/669670?v=3","gravatar_id":"","url":"https://api.github.com/users/helxsz","html_url":"https://github.com/helxsz","followers_url":"https://api.github.com/users/helxsz/followers","following_url":"https://api.github.com/users/helxsz/following{/other_user}","gists_url":"https://api.github.com/users/helxsz/gists{/gist_id}","starred_url":"https://api.github.com/users/helxsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helxsz/subscriptions","organizations_url":"https://api.github.com/users/helxsz/orgs","repos_url":"https://api.github.com/users/helxsz/repos","events_url":"https://api.github.com/users/helxsz/events{/privacy}","received_events_url":"https://api.github.com/users/helxsz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-28T11:02:58Z","updated_at":"2016-10-29T20:39:55Z","closed_at":null,"body":"Hi, I reused part of your code from  https://github.com/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/blob/master/src/app/components/messaging/message.service.ts\r\n\r\n`    newMessage: Subject<Sensor> = new BehaviorSubject<Sensor>(null);\r\n\r\n     this.newMessage.next(new Message(JSON.parse(msg)));\r\n`\r\nBut I got one error saying \r\n> Supplied parameters do not match any signature of call target.\r\nand one error saying\r\n>  undefined object because of newMessage is null\r\n\r\n\r\nany ideas how to solve it ? \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/comments/257114761","html_url":"https://github.com/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/1#issuecomment-257114761","issue_url":"https://api.github.com/repos/enaukkarinen/Angular2-RxJS-Socket.io-chat-application/issues/1","id":257114761,"user":{"login":"reneszabo","id":434504,"avatar_url":"https://avatars.githubusercontent.com/u/434504?v=3","gravatar_id":"","url":"https://api.github.com/users/reneszabo","html_url":"https://github.com/reneszabo","followers_url":"https://api.github.com/users/reneszabo/followers","following_url":"https://api.github.com/users/reneszabo/following{/other_user}","gists_url":"https://api.github.com/users/reneszabo/gists{/gist_id}","starred_url":"https://api.github.com/users/reneszabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reneszabo/subscriptions","organizations_url":"https://api.github.com/users/reneszabo/orgs","repos_url":"https://api.github.com/users/reneszabo/repos","events_url":"https://api.github.com/users/reneszabo/events{/privacy}","received_events_url":"https://api.github.com/users/reneszabo/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T20:39:55Z","updated_at":"2016-10-29T20:39:55Z","body":"u need an object Type ...  is can be `Message` Object or anything u like ... like ( string, number, any )\r\n`\r\nnewMessage: Subject<Message> = new BehaviorSubject<Message>(null);\r\n`"}}
{"actor":{"display_login":"reneszabo"}}