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

Optimize shouldBypassDocumentValidationForCommand for IDL types

    • Type: Icon: Question Question
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2021-02-08

      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

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

              Created:
              Updated:
              Resolved: