{"action":"created","issue":{"url":"https://api.github.com/repos/young-steveo/bottlejs/issues/36","labels_url":"https://api.github.com/repos/young-steveo/bottlejs/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/young-steveo/bottlejs/issues/36/comments","events_url":"https://api.github.com/repos/young-steveo/bottlejs/issues/36/events","html_url":"https://github.com/young-steveo/bottlejs/issues/36","id":118601184,"number":36,"title":"Why prevent dependencies being overridden? ","user":{"login":"rdallasgray","id":1018911,"avatar_url":"https://avatars.githubusercontent.com/u/1018911?v=3","gravatar_id":"","url":"https://api.github.com/users/rdallasgray","html_url":"https://github.com/rdallasgray","followers_url":"https://api.github.com/users/rdallasgray/followers","following_url":"https://api.github.com/users/rdallasgray/following{/other_user}","gists_url":"https://api.github.com/users/rdallasgray/gists{/gist_id}","starred_url":"https://api.github.com/users/rdallasgray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdallasgray/subscriptions","organizations_url":"https://api.github.com/users/rdallasgray/orgs","repos_url":"https://api.github.com/users/rdallasgray/repos","events_url":"https://api.github.com/users/rdallasgray/events{/privacy}","received_events_url":"https://api.github.com/users/rdallasgray/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/young-steveo/bottlejs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T12:43:42Z","updated_at":"2015-11-24T16:00:12Z","closed_at":null,"body":"Hey, I was wondering why you raise an error when an existing dependency is re-registered? (See https://github.com/young-steveo/bottlejs/blob/master/src/Bottle/provider.js#L39). Our use case calls for default dependencies to be registered, but overridable to allow pluggable functionality, which I would think is a fairly common requirement.\r\n\r\nThanks for the project, it's been a big help to us."},"comment":{"url":"https://api.github.com/repos/young-steveo/bottlejs/issues/comments/159313550","html_url":"https://github.com/young-steveo/bottlejs/issues/36#issuecomment-159313550","issue_url":"https://api.github.com/repos/young-steveo/bottlejs/issues/36","id":159313550,"user":{"login":"rdallasgray","id":1018911,"avatar_url":"https://avatars.githubusercontent.com/u/1018911?v=3","gravatar_id":"","url":"https://api.github.com/users/rdallasgray","html_url":"https://github.com/rdallasgray","followers_url":"https://api.github.com/users/rdallasgray/followers","following_url":"https://api.github.com/users/rdallasgray/following{/other_user}","gists_url":"https://api.github.com/users/rdallasgray/gists{/gist_id}","starred_url":"https://api.github.com/users/rdallasgray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdallasgray/subscriptions","organizations_url":"https://api.github.com/users/rdallasgray/orgs","repos_url":"https://api.github.com/users/rdallasgray/repos","events_url":"https://api.github.com/users/rdallasgray/events{/privacy}","received_events_url":"https://api.github.com/users/rdallasgray/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T16:00:12Z","updated_at":"2015-11-24T16:00:12Z","body":"Great. I've forked and hacked for the moment as I'm short of time, and everything seems to be working OK. If I can find the time I'll get the project set up on my machine and put together a properly-tested PR."}}