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

Reference ObjectIdAsHexString decoder option in exception message

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Go Drivers
    • Not Needed

      When trying to decode an ObjectId to a string, the ObjectIdAsHexString option needs to be enabled to avoid an exception message. However, the exception does not mention this at all. It would be helpful for the exception message to reference the config value to point the user in the right direction if they expected this behaviour.

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: