{"action":"created","issue":{"url":"https://api.github.com/repos/tjoskar/autoinject/issues/1","labels_url":"https://api.github.com/repos/tjoskar/autoinject/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tjoskar/autoinject/issues/1/comments","events_url":"https://api.github.com/repos/tjoskar/autoinject/issues/1/events","html_url":"https://github.com/tjoskar/autoinject/issues/1","id":112200912,"number":1,"title":"Support inject parameters in constructor","user":{"login":"tjoskar","id":1525612,"avatar_url":"https://avatars.githubusercontent.com/u/1525612?v=3","gravatar_id":"","url":"https://api.github.com/users/tjoskar","html_url":"https://github.com/tjoskar","followers_url":"https://api.github.com/users/tjoskar/followers","following_url":"https://api.github.com/users/tjoskar/following{/other_user}","gists_url":"https://api.github.com/users/tjoskar/gists{/gist_id}","starred_url":"https://api.github.com/users/tjoskar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjoskar/subscriptions","organizations_url":"https://api.github.com/users/tjoskar/orgs","repos_url":"https://api.github.com/users/tjoskar/repos","events_url":"https://api.github.com/users/tjoskar/events{/privacy}","received_events_url":"https://api.github.com/users/tjoskar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T18:06:38Z","updated_at":"2015-10-19T18:28:44Z","closed_at":null,"body":"Support this:\r\n\r\n```javascript\r\nlet myObject = {};\r\nregister({myObject});\r\n\r\nclass {\r\n    constructor(@inject('myObject') myObject) {}\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/tjoskar/autoinject/issues/comments/149305483","html_url":"https://github.com/tjoskar/autoinject/issues/1#issuecomment-149305483","issue_url":"https://api.github.com/repos/tjoskar/autoinject/issues/1","id":149305483,"user":{"login":"tjoskar","id":1525612,"avatar_url":"https://avatars.githubusercontent.com/u/1525612?v=3","gravatar_id":"","url":"https://api.github.com/users/tjoskar","html_url":"https://github.com/tjoskar","followers_url":"https://api.github.com/users/tjoskar/followers","following_url":"https://api.github.com/users/tjoskar/following{/other_user}","gists_url":"https://api.github.com/users/tjoskar/gists{/gist_id}","starred_url":"https://api.github.com/users/tjoskar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjoskar/subscriptions","organizations_url":"https://api.github.com/users/tjoskar/orgs","repos_url":"https://api.github.com/users/tjoskar/repos","events_url":"https://api.github.com/users/tjoskar/events{/privacy}","received_events_url":"https://api.github.com/users/tjoskar/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T18:28:44Z","updated_at":"2015-10-19T18:28:44Z","body":"Why not:\r\n\r\n```javascript\r\nlet myObject = {};\r\n\r\nclass {\r\n    constructor(@inject(myObject) _myObject) {}\r\n}\r\n```\r\n\r\nMuch cleaner!"}}