Optimize shouldBypassDocumentValidationForCommand for IDL types

XMLWordPrintableJSON

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

      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:
            Benjamin Caimano (Inactive)
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: