{"action":"opened","issue":{"url":"https://api.github.com/repos/KyleAMathews/superagent-bluebird-promise/issues/57","repository_url":"https://api.github.com/repos/KyleAMathews/superagent-bluebird-promise","labels_url":"https://api.github.com/repos/KyleAMathews/superagent-bluebird-promise/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/KyleAMathews/superagent-bluebird-promise/issues/57/comments","events_url":"https://api.github.com/repos/KyleAMathews/superagent-bluebird-promise/issues/57/events","html_url":"https://github.com/KyleAMathews/superagent-bluebird-promise/issues/57","id":161494976,"number":57,"title":"Option to pass existing superagent instance to be patched","user":{"login":"jpodwys","id":5660076,"avatar_url":"https://avatars.githubusercontent.com/u/5660076?v=3","gravatar_id":"","url":"https://api.github.com/users/jpodwys","html_url":"https://github.com/jpodwys","followers_url":"https://api.github.com/users/jpodwys/followers","following_url":"https://api.github.com/users/jpodwys/following{/other_user}","gists_url":"https://api.github.com/users/jpodwys/gists{/gist_id}","starred_url":"https://api.github.com/users/jpodwys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpodwys/subscriptions","organizations_url":"https://api.github.com/users/jpodwys/orgs","repos_url":"https://api.github.com/users/jpodwys/repos","events_url":"https://api.github.com/users/jpodwys/events{/privacy}","received_events_url":"https://api.github.com/users/jpodwys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-21T17:27:15Z","updated_at":"2016-06-21T17:27:15Z","closed_at":null,"body":"I'm the creator of [`superagent-cache`](https://github.com/jpodwys/superagent-cache) and someone recently [reported an issue](https://github.com/jpodwys/superagent-cache/issues/38) to me saying that my `1.5.0` release breaks compatibility with this repo. I've created a branch to address the issue and asked the reporter to confirm it meets their needs.\r\n\r\nHowever, I noticed that this repo does not allow a superagent instance to be passed into it. It appears that [`superagent-promise`](https://github.com/lightsofapollo/superagent-promise), [`superagent-promise-plugin`], and my library all allow users to provide an existing superagent instance to be patched. With that in mind, are you open to optionally allowing users to pass in a superagent instance so that, for example, users can path with my library and then path with this library to get the best of both worlds?\r\n\r\nAs I said earlier, I have a branch I believe fixes the issue, but it's not a good fix--I believe this would be better.\r\n\r\nThanks!"}}
{"actor":{"display_login":"jpodwys"}}