-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Go Drivers
Breaking change v1/v2 ?
With this document:
{
"_id" : "zen",
"logger" :
}
and this code:
var data map[string]any
err := col.FindOne(ctx, bson.M{"_id": "zen"}).Decode(&data)
v1:
data=map[_id:zen logger:map[level:trace output:journal]]
v2:
data=map[_id:zen logger:\{"level":"trace","output":"journal"}]