Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80545

Make DatabaseNameUtil::serialize no longer use default serialization context

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Serverless

      The DatabaseNameUtil::serialize  function has a default argument SerialziationContext.

      staticstd::string serialize( constDatabaseName&dbName, constSerializationContext&context=SerializationContext::stateDefault());

      In this ticket, we will remove the default value from it. The motivation is to enforce each call site pass in the correct serialization context. 

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: