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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Sophia Tan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: