Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-54021

Optimize shouldBypassDocumentValidationForCommand for IDL types

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • Security 2021-02-08

    Description

      Currently shouldBypassDocumentValidationForCommand parses a BSONObj which is redundant with the IDL generated parsers that many callers of the function use. This function should getBypassDocumentValidation() on the generated IDL class

      Attachments

        Activity

          People

            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: