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

Bring BSONObj parsers back for IDL generated commands

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.1, 3.7.1
    • Component/s: IDL
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.6

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.benvenuto Mark Benvenuto
              Reporter:
              mark.benvenuto Mark Benvenuto
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: