Christoph Walcher

Results 54 comments of Christoph Walcher

The reason for this behavior is the serialize/deserialize implementation shipped with passport-local-mongoose: ``` schema.statics.serializeUser = function() { return function(user, cb) { cb(null, user.get(options.usernameField)); } }; schema.statics.deserializeUser = function() { var...

Sorry, I've really not enough experience with koa to help you with the issue. Passport-local-mongoose is not tested with koa and since you have an issue I guess we do...

Have you tried the steps outlined in your error message to fix this issue? This should be a react-native and no mongojs issue.

The key point of mongojs is that it tries to follow the mongodb cli interface as much as possible :heavy_plus_sign: handling connection management for you.

Could you provide some data as well as the console log output for a certain scenario given date1 and date2

We're using mongodb native driver under the hood so connection options get passed to mongodb native. To pass a auto reconnect option see http://mongodb.github.io/node-mongodb-native/2.1/reference/connecting/connection-settings/ The fun thing about this bug...

Definitely interesting - but we'll need the _one_ that creates the typescript file :smile:

Repo is maintained, my reaction time sometimes a bit high 😢 Will merge a PR with the typescript definitions file. Your starting gist looks good - we can polish the...

Hi, we're using the official mongodb driver under the hood. I guess/hope/am quite sure that the mongodb driver is well tested for injections.

I prefer to do something like this in my code ``` var db = mongojs('mydb', [ 'collection_a', 'collection-b', ]); module.exports = { collectionA: db.collection_a, collectionB: db.collection-b, } ``` You can...