{"action":"closed","issue":{"url":"https://api.github.com/repos/nestjs/nest/issues/259","repository_url":"https://api.github.com/repos/nestjs/nest","labels_url":"https://api.github.com/repos/nestjs/nest/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/nestjs/nest/issues/259/comments","events_url":"https://api.github.com/repos/nestjs/nest/issues/259/events","html_url":"https://github.com/nestjs/nest/issues/259","id":275327279,"number":259,"title":"[Question] Additional decorators used with controller parameters","user":{"login":"szkumorowski","id":18058722,"avatar_url":"https://avatars1.githubusercontent.com/u/18058722?v=4","gravatar_id":"","url":"https://api.github.com/users/szkumorowski","html_url":"https://github.com/szkumorowski","followers_url":"https://api.github.com/users/szkumorowski/followers","following_url":"https://api.github.com/users/szkumorowski/following{/other_user}","gists_url":"https://api.github.com/users/szkumorowski/gists{/gist_id}","starred_url":"https://api.github.com/users/szkumorowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szkumorowski/subscriptions","organizations_url":"https://api.github.com/users/szkumorowski/orgs","repos_url":"https://api.github.com/users/szkumorowski/repos","events_url":"https://api.github.com/users/szkumorowski/events{/privacy}","received_events_url":"https://api.github.com/users/szkumorowski/received_events","type":"User","site_admin":false},"labels":[{"id":734227936,"url":"https://api.github.com/repos/nestjs/nest/labels/todo","name":"todo","color":"87f2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-20T11:44:27Z","updated_at":"2017-11-22T18:45:29Z","closed_at":"2017-11-22T18:45:29Z","author_association":"NONE","body":"Hello,\r\n\r\nIs it possible to set custom properties into additional decorated parameters in controller ?\r\nExample:\r\n\r\n@Get()\r\nasync findAll(@Principal() principal:Principal) { }\r\n\r\nWhere principal will be built with factory based on current request context ?\r\n\r\nI tried to use pipes, but without result. Looks interceptors/middlewares are not proper to go with it.\r\n\r\n"}}
{"actor":{"display_login":"kamilmysliwiec"}}