[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: |
|
||||||||||||
| 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: (cherry picked from commit 671dd2c46fb49aabd969781b3c8c90cb109a1032) |
| Comment by Githook User [ 01/Dec/17 ] |
|
Author: {'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}Message: |