Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-905

JSON.stringify() includes internal field for db.listCommands() result

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.1
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • Iteration Geneva
    • Not Needed

      CommandResult should provide a custom toJSON method so that calling JSON.stringify() on it gives a meaningful result.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: