bson codec is not supporting pointers for inline tags

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently if the inline field is a pointer to a struct it returns an error. Pointers to structs are quite common if not idiomatic in Go.

      https://github.com/mongodb/mongo-go-driver/blob/44d349d1886bcc181046312daee15bb2533a2d10/bson/bsoncodec/struct_codec.go#L342

            Assignee:
            Unassigned
            Reporter:
            Mihai B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: