[DRIVERS-1928] Test behavior of empty projection in CRUD spec Created: 21/Sep/21 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | Drivers |
| Component/s: | CRUD |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Julius Park (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Driver Changes: | Needed |
| Description |
|
Currently working on pymongo's behavior when given an empty projection ( |
| Comments |
| Comment by Jeremy Mikola [ 21/Sep/21 ] |
|
julius.park: Feel free to submit a PR if you'd like to contribute a test for this. I think it'd just be a matter of passing an empty document as an option to the operation and then asserting an empty document in the outgoing commandStartedEvent. One open question: would this just be for find, or would you want to do it for the various findAndModify operations as well? |