Open
Description
Will there be a support for the type primitive.ObjectID for MongoDB? Or is there a way to add types ourselves?
https://pkg.go.dev/go.mongodb.org/mongo-driver
Right now I have to deactivate all of them with diff:"-", that wouldn't cause an issue if I was only using primitive.ObjectID as main ID, but I'm also using that to link collections, so I need it in other area on the struct.
type ObjectID [12]byte
fmt.Print(reflect.ValueOf(obj.ID).Kind()) // array
unsupported type: array
It seems that you support Slice only and not Array
Besides that, it works well. Thanks for this library!
Metadata
Metadata
Assignees
Labels
No labels