{"action":"created","issue":{"url":"https://api.github.com/repos/mafintosh/mongojs/issues/256","labels_url":"https://api.github.com/repos/mafintosh/mongojs/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/mafintosh/mongojs/issues/256/comments","events_url":"https://api.github.com/repos/mafintosh/mongojs/issues/256/events","html_url":"https://github.com/mafintosh/mongojs/pull/256","id":111156323,"number":256,"title":"Saintedlama/mongodb native","user":{"login":"saintedlama","id":123820,"avatar_url":"https://avatars.githubusercontent.com/u/123820?v=3","gravatar_id":"","url":"https://api.github.com/users/saintedlama","html_url":"https://github.com/saintedlama","followers_url":"https://api.github.com/users/saintedlama/followers","following_url":"https://api.github.com/users/saintedlama/following{/other_user}","gists_url":"https://api.github.com/users/saintedlama/gists{/gist_id}","starred_url":"https://api.github.com/users/saintedlama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saintedlama/subscriptions","organizations_url":"https://api.github.com/users/saintedlama/orgs","repos_url":"https://api.github.com/users/saintedlama/repos","events_url":"https://api.github.com/users/saintedlama/events{/privacy}","received_events_url":"https://api.github.com/users/saintedlama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T10:57:14Z","updated_at":"2015-11-02T13:29:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mafintosh/mongojs/pulls/256","html_url":"https://github.com/mafintosh/mongojs/pull/256","diff_url":"https://github.com/mafintosh/mongojs/pull/256.diff","patch_url":"https://github.com/mafintosh/mongojs/pull/256.patch"},"body":"@watson @sorribas @mafintosh Found no better place to discuss this branch. It's currently no pull request but an experimental implementation of using mongodb-native driver in the background instead of mongodb-core driver.\r\n\r\nThe reason for this is that mongodb-native implements a lot of functionality on top of mongodb-core that we would need to reimplement in mongojs too to fix our current 37 open issues. For example:\r\n\r\n* Add support for Mongos topology #241 \r\n* SCRAM-SHA-1 authMechanism not supported #233 \r\n* db.close() issue #224\r\n* SCRAM-SHA-1 missing authSource? #222\r\n* MongoError: No more documents in tailed cursor #205\r\n\r\nDistilled: It's auth, topologies and cursor handling that would need to be implemented as the mongodb-native driver does, which means we would need to maintain this code too!\r\n\r\nThe branch here is quite experimental and has a lot of TODOs in it. Nothing that could not be fixed but some stuff that has to be discussed.\r\n\r\nCurrently the branch suffers from two \"problems\":\r\n\r\n1) cursor.explain is broken due to a bug in mongodb-core (https://github.com/christkv/mongodb-core/issues/50)\r\n2) I'm experiencing problems with EventEmitter, Istanbul, Node.js 4.1.1 and Harmony Proxies. but this only affects coverage runs\r\n"},"comment":{"url":"https://api.github.com/repos/mafintosh/mongojs/issues/comments/153016582","html_url":"https://github.com/mafintosh/mongojs/pull/256#issuecomment-153016582","issue_url":"https://api.github.com/repos/mafintosh/mongojs/issues/256","id":153016582,"user":{"login":"saintedlama","id":123820,"avatar_url":"https://avatars.githubusercontent.com/u/123820?v=3","gravatar_id":"","url":"https://api.github.com/users/saintedlama","html_url":"https://github.com/saintedlama","followers_url":"https://api.github.com/users/saintedlama/followers","following_url":"https://api.github.com/users/saintedlama/following{/other_user}","gists_url":"https://api.github.com/users/saintedlama/gists{/gist_id}","starred_url":"https://api.github.com/users/saintedlama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saintedlama/subscriptions","organizations_url":"https://api.github.com/users/saintedlama/orgs","repos_url":"https://api.github.com/users/saintedlama/repos","events_url":"https://api.github.com/users/saintedlama/events{/privacy}","received_events_url":"https://api.github.com/users/saintedlama/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T13:29:57Z","updated_at":"2015-11-02T13:29:57Z","body":"@watson @sorribas @mafintosh any update?"}}