Goostavo / sails-mongodb-6

Mongodb 6 testing with new libs for sessions and connection.
2 stars 0 forks source link

Are there conclusive test that sails will work with mongod @6? #1

Open makeitcount opened 1 year ago

makeitcount commented 1 year ago

Hey @Goostavo I'm curious to understand, what was your conclusion. Is it OK to upgrade to mongodb @6 with sails 1.5 or is there any word of caution?

Goostavo commented 1 year ago

Currently using it on production with mongodb community 6, and Mongo Atlas Cluster without any problems for a long time. I'll probably test soon the new released MongoDb 7, as there are some cool new features.

The only caution is the connect session that uses a slightly different configuration object. But on the example you can see how it works.

I'll ask you to open this issue on Sails repo. You can mark me and Kelvin. So we can work on evolving this workaround to the official solution. Or, if there are already an open issue, just comment there.