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

Properly implement onPrint in java-shell

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Java Shell, Shell API, Tech debt
    • Labels:
      None
    • 3

      The current print/console.log implementation in the java shell is a custom one that effectively duplicates what we have in the shell-api package. This has been an issue multiple times (see https://github.com/mongodb-js/mongosh/pull/1102 for an example), and we should move the java-shell towards using the same infrastructure that other users of the shell also use.

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

              Created:
              Updated: