command/write.go serializes all non-nil write concerns. Based on https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#other-commands-that-write, it should check the command and wire version to make sure a write concern is valid.
Write concern should not be encoded for certain commands based on wire version.
- Assignee:
- Kristofer Brandow (Inactive)
- Reporter:
- Divjot Arora (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: