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

Clean up deprecation warning printing code

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.6
    • Affects Version/s: None
    • Component/s: Shell API, Tech debt
    • None
    • 2
    • Iteration Kampala
    • Not Needed

      Address the TODO comment in deprecation-warning.ts:

      // TODO: Integrate this into ShellInstanceState.
      // The set of shown warnings should not be global, but rather per-Shell,
      // and we should not be using methods like console.warn inside the
      // shell-api package either (because we should generally stick to
      // what's in the language itself, not the specific runtime environments).
      

            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: