Details
-
Improvement
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
None
Description
Currently it seems that in order to "inline" a field it must have the "inline" tag even if it's an embedded/anonymous field. In Go, the standard practice is to "inline" the embedded fields. This behaviour exists in the std lib (i.e. encoding/json, encoding/xml) so I believe the mongo driver/bson should follow the same practice.