[SERVER-31660] Bring BSONObj parsers back for IDL generated commands Created: 20/Oct/17  Updated: 30/Oct/23  Resolved: 01/Dec/17

Status: Closed
Project: Core Server
Component/s: IDL
Affects Version/s: None
Fix Version/s: 3.6.1, 3.7.1

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-31981 IDL for the count command Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Participants:

 Description   

In order to support commands that are derived from BasicCommand and do not need to support document sequences, IDL generated commands should generate a parse(BSONObj) method. The BSON it accepts contains $db and other well-known command fields.

Prototype: https://github.com/markbenvenuto/mongo/commit/8140cbe4f72b487b14a3e18bd4e07bb80a601fc8



 Comments   
Comment by Githook User [ 05/Dec/17 ]

Author:

{'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto'}

Message: SERVER-31660 Bring BSONObj parsers back for IDL generated commands

(cherry picked from commit 671dd2c46fb49aabd969781b3c8c90cb109a1032)
Branch: v3.6
https://github.com/mongodb/mongo/commit/edcf04e65935eca2d63bce5921e6fc212a964ffa

Comment by Githook User [ 01/Dec/17 ]

Author:

{'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-31660 Bring BSONObj parsers back for IDL generated commands
Branch: master
https://github.com/mongodb/mongo/commit/671dd2c46fb49aabd969781b3c8c90cb109a1032

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