Change DBClient functions to use DatabaseName and NamespaceString objects

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-01-23, Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06
    • 8
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Most functions currently take in strings, but should take a DatabaseName or NamespaceString object to avoid dropping the tenantId. We'll likely need to make sure the call sites end up constructing the OpMsgRequests using OpMsgRequestBuilder::create rather than OpMsgRequest::fromDbAndBody so that the tenantId will be attached as the $tenant field if needed.

            Assignee:
            Sophia Tan (Inactive)
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: