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

Fix autocompletion in browser-repl

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 0.0.8
    • Affects Version/s: None
    • Component/s: Browser Module, Compass
    • None
    • Iteration Huckleberry

      Autocompletion is currently not working with the browser-repl. I think it's failing to create the auto completer with the server version. It's probably trying to do something only the cli-repl needs/ can do.

      https://github.com/mongodb-js/mongosh/blob/master/packages/browser-runtime-core/src/open-context-runtime.ts#L41

      https://github.com/mongodb-js/mongosh/blob/a8ee315baca38387021a0011dc98a3f85df47b2c/packages/service-provider-server/src/cli-service-provider.ts#L106

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: