Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2016

Report offending field name in BSON validation errors

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: 1.6.0
    • Component/s: libmongoc
    • None

      libmongoc's BSON validation introduced in CDRIVER-1341 represents a regression in specificity compared to the server's error message. Whenever possible, these errors should include the offending field name (or field path) so that users can more easily resolve the error.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: