The attached program triggers the issue. It would seem to be a missing nil check somewhere in this call:
if sc.DecodeDeepZeroInline && sd.inline
{ val.Set(deepZero(val.Type())) }at go.mongodb.org/mongo-driver@v1.3.0/bson/bsoncodec/struct_codec.go:198
Removing the draft field bypasses the issue. Replacing the embedded Common struct with the ID field also bypasses the issue, so there is something in the intersection of those two fields.