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

Clean up deprecation warning printing code

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.0.6
    • Shell API
    • 2
    • Not Needed
    • Iteration Kampala

    Description

      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).
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: