{"action":"opened","issue":{"url":"https://api.github.com/repos/inversify/InversifyJS/issues/389","repository_url":"https://api.github.com/repos/inversify/InversifyJS","labels_url":"https://api.github.com/repos/inversify/InversifyJS/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/inversify/InversifyJS/issues/389/comments","events_url":"https://api.github.com/repos/inversify/InversifyJS/issues/389/events","html_url":"https://github.com/inversify/InversifyJS/issues/389","id":182428376,"number":389,"title":"Is it possible to change the default scope?","user":{"login":"jbcpollak","id":188558,"avatar_url":"https://avatars.githubusercontent.com/u/188558?v=3","gravatar_id":"","url":"https://api.github.com/users/jbcpollak","html_url":"https://github.com/jbcpollak","followers_url":"https://api.github.com/users/jbcpollak/followers","following_url":"https://api.github.com/users/jbcpollak/following{/other_user}","gists_url":"https://api.github.com/users/jbcpollak/gists{/gist_id}","starred_url":"https://api.github.com/users/jbcpollak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbcpollak/subscriptions","organizations_url":"https://api.github.com/users/jbcpollak/orgs","repos_url":"https://api.github.com/users/jbcpollak/repos","events_url":"https://api.github.com/users/jbcpollak/events{/privacy}","received_events_url":"https://api.github.com/users/jbcpollak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-12T03:45:37Z","updated_at":"2016-10-12T03:45:37Z","closed_at":null,"body":"I would like to default to singleton scope. Is it possible to do that so I don't have to always add `.inSingletonScope();` to the end of my declarations?\r\n\r\n```\r\nkernel.bind<Foo>('foo').to(Bar).inSingletonScope();\r\nkernel.bind<Bar>('bar').to(Boo).inSingletonScope();\r\nkernel.bind<Baz>('baz').to(Baz).inSingletonScope();\r\n```"}}
{"actor":{"display_login":"jbcpollak"}}