Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-605

bson codec is not supporting pointers for inline tags

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • BSON
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: