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

Clean up deprecation warning printing code

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.6
    • Component/s: Shell API
    • Labels:
    • Story Points:
      2
    • Documentation Changes:
      Not Needed
    • Sprint:
      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

            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: