Mongo ModuleLoader's resolveBaseUrl(...) can be moved up a few layers

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently resolveBaseUrl() which figures out where jsconfig.json lives is defined as a static method on the ModuleLoader. In SERVER-97251 we needed to get the resolved base URL at a top level - this required a lot of plumbing to get the base URL from ModuleLoader -> Scope implementation -> ... Scope abstract class -> Mongo main function.

      It may be better to move the function to place closer to the higher level, such as the Engine.

            Assignee:
            Unassigned
            Reporter:
            Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: