{"action":"created","issue":{"url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/288","repository_url":"https://api.github.com/repos/Romakita/ts-express-decorators","labels_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/288/comments","events_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/288/events","html_url":"https://github.com/Romakita/ts-express-decorators/issues/288","id":307357105,"number":288,"title":"[Socket.IO] Use model on socket handlers","user":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"labels":[{"id":861690641,"url":"https://api.github.com/repos/Romakita/ts-express-decorators/labels/In%20progress","name":"In progress","color":"56eab6","default":false},{"id":329676967,"url":"https://api.github.com/repos/Romakita/ts-express-decorators/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Romakita/ts-express-decorators/milestones/12","html_url":"https://github.com/Romakita/ts-express-decorators/milestone/12","labels_url":"https://api.github.com/repos/Romakita/ts-express-decorators/milestones/12/labels","id":3322373,"number":12,"title":"SPRINT MAI","description":"","creator":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2018-05-05T08:41:46Z","updated_at":"2018-05-10T08:34:51Z","due_on":"2018-05-31T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-03-21T18:00:07Z","updated_at":"2018-05-11T06:00:43Z","closed_at":null,"author_association":"OWNER","body":"```typescript\r\n\r\n@SocketService()\r\nclass MyWS {\r\n    @Input('event')\r\n    @Emit('returnEvent')\r\n    handler(@Args(0) user: User) {\r\n         console.log(\"User\", user); // User {}\r\n    }\r\n}\r\n```\r\n- [ ] Argument can be deserialized with the ConverterService.\r\n- [ ] Deserialization is called before all middlewares. Args must contain the deserialized object based on the endpoint signature.\r\n- [ ] Returned value can be serialized with the ConverterService."},"comment":{"url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/comments/388268410","html_url":"https://github.com/Romakita/ts-express-decorators/issues/288#issuecomment-388268410","issue_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/288","id":388268410,"user":{"login":"kalu111","id":13465876,"avatar_url":"https://avatars1.githubusercontent.com/u/13465876?v=4","gravatar_id":"","url":"https://api.github.com/users/kalu111","html_url":"https://github.com/kalu111","followers_url":"https://api.github.com/users/kalu111/followers","following_url":"https://api.github.com/users/kalu111/following{/other_user}","gists_url":"https://api.github.com/users/kalu111/gists{/gist_id}","starred_url":"https://api.github.com/users/kalu111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalu111/subscriptions","organizations_url":"https://api.github.com/users/kalu111/orgs","repos_url":"https://api.github.com/users/kalu111/repos","events_url":"https://api.github.com/users/kalu111/events{/privacy}","received_events_url":"https://api.github.com/users/kalu111/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T06:00:43Z","updated_at":"2018-05-11T06:00:43Z","author_association":"NONE","body":"I can't wait :)"}}
{"actor":{"display_login":"kalu111"}}