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

config.set('inspectDepth', Infinity) is not persisted properly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.15.4
    • Affects Version/s: None
    • Component/s: CLI Module
    • Not Needed
    • Iteration Firenze

      Infinity is not properly serialized by JSON, it is stored as null instead, which we replace with the default value due to our usage of ?? in CliRepl.getConfig.

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

              Created:
              Updated:
              Resolved: