Priority: Major - P3
Affects Version/s: None
Fix Version/s: 1.0.0
We prefix a number of our top level types with "Mongo" to disambiguate them and aid in discoverability (e.g. MongoCollection). Some of our types lack this prefix, and we should consider adding them.
Types that need consideration:
We should also prefix our BSON types with BSON as many of them have potential to clash with names from other libraries. This could lead to breaking the compilation of our users' code when they pull in minor version updates from other libraries they use or make a minor version Swift update as suddenly they would need to prefix all conflicting types with MongoSwift.
Most of these types are in the BSON library. Let's prefix all of the core BSON types there with BSON.
Non-BSON types we should also probably prefix:
- WriteModel? maybe should be BulkWriteModel?