Bring BSONObj parsers back for IDL generated commands

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.1, 3.7.1
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Fully Compatible
    • v3.6
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Mark Benvenuto
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: