GODRIVER-3742Backlog

Avoid improper marshal/unmarshal of ReadConcern & WriteConcern

h3. *Context* Currently the driver allows marshaling the WriteConcern struct but doesn’t convert the Journal struct member to `j` … which can produce an invalid `writeConcern` BSON document. This is important because users who call RunCommand() are fairly likely to do something like: … which right now _happens_ to work, but if there’s anything in the WriteConcern.Journal field then an invalid BSON document will result. (I believe WTimeout is also improperly marshaled since it’s a Duration

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
BSONRead and Write Concern
Labels
Tags and classification

No labels assigned.