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

Make DatabaseNameUtil::de/serialize no longer use default serialization context

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-09-18, Server Serverless 2023-10-02
    • 3

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

      static DatabaseName deserialize( boost::optional<TenantId> tenantId, StringDatadb,  const SerializationContext& 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:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: