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

Audit the primitive package for encoding.Text(Un)Marshaler impls

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: JSON & ExtJSON
    • None

      GODRIVER-2119 brought up the point that marshaling from and unmarshaling to instances of map[primitive.ObjectID]string causes an error because primitive.ObjectID does not implement encoding.TextMarshaler nor encoding.TextUnmarshaler for JSON.

      We should audit the primitive package to ensure that all types implement these functions.

            Assignee:
            Unassigned Unassigned
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: