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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.1
    • Component/s: Shell API
    • Labels:
      None
    • Documentation Changes:
      Not Needed
    • Sprint:
      Iteration Geneva

      Description

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: