Reference ObjectIdAsHexString decoder option in exception message

XMLWordPrintableJSON

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

      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
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: