globalsign / mgo

The MongoDB driver for Go
Other
1.97k stars 230 forks source link

Remove `dropDups` #214

Closed mhutter closed 6 years ago

mhutter commented 6 years ago

According to the MongoDB docs, the dropDups option for indices has been removed in 3.0.

According to the Travis config the library is only tested against MongoDB 3.0 and greater. Do you want to keep deprecated features around for backwards-compatibility or should I open a PR to remove it? There may be more features that have been deprecated in 3.0...

domodwyer commented 6 years ago

Hi @mhutter

I agree with you, happy to remove old things! I think we can safely assume <3.0 is unused at this point, it's been end-of-life'd by Mongo too. We'll happily accept a PR to remove the old bits 👍

Dom