[DRIVERS-1220] Validate index options for pre-3.4 servers Created: 29/Apr/20 Updated: 26/May/20 Resolved: 26/May/20 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
InĀ https://github.com/mongodb/specifications/blob/master/source/index-management.rst#common-api-components, we don't validate any of the properties in IndexOptions based on server version. Server versions before 3.4 silently ignored unknown options, so drivers should raise client-side errors where necessary. |