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

Report offending field name in BSON validation errors

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.0
    • 1.6.0
    • libmongoc
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: