[DRIVERS-958] Add findOne to CRUD Created: 05/Dec/19  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: CRUD
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Samuel Rossi (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently, the CRUD spec does not require that drivers implement a findOne helper, with a Q&A question|https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#q-a saying that it's allowed, but not required. However, due to the fact that it's not required, there isn't any coverage in the spec tests for it. Given how common it's used, I think we should at the very least add spec tests for it (which drivers that chose not to implement findOne can skip) if not make it a required part of the spec.


Generated at Thu Feb 08 08:22:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.