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

Add support for keys implement TextMarshaler & TextUnmarshaler from MapCodec

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Unknown Unknown
    • 1.10.0, 1.10.0-beta1
    • None
    • None
    • None
    • Fully Compatible

    Description

      Allow encoding atypical map key types, such as a `struct`, for data that implements encoding.TextMarshaler. That is, such types can unmarshal into a textual representation of themselves.

      Attachments

        Activity

          People

            preston.vasquez@mongodb.com Preston Vasquez
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: