Fix autocompletion in browser-repl

XMLWordPrintableJSON

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

      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
              Reporter:
              Rhys Howell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: