[SERVER-54021] Optimize shouldBypassDocumentValidationForCommand for IDL types Created: 25/Jan/21  Updated: 29/Oct/23  Resolved: 28/Jan/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Question Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Benjamin Caimano (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-53863 FindAndModify commands should inherit... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-02-08
Participants:

 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



 Comments   
Comment by Githook User [ 28/Jan/21 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}

Message: SERVER-54021 Optimize shouldBypassDocumentValidationForCommand for IDL types
Branch: master
https://github.com/mongodb/mongo/commit/ecf49b00ca39fb7e6cd74dbbec749b1007eaf006

Generated at Thu Feb 08 05:32:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.