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

Introduce DatabaseNameUtil (de)serialize functions without SerializationContext for non idl generated command code

    • Service Arch
    • Service Arch 2024-01-08, Service Arch 2024-01-22, Service Arch 2024-02-05, Service Arch 2024-02-19, Service Arch 2024-03-04
    • 8

      We are currently transitioning to using a ValidatedTenancyScope as a source of truth in order to serialize / deserialize database names.

      As part of SERVER-82352, we are changing the constructor to now pass in a ValidatedTenancyScope.

      Because we are still serializing using a SerializationContext, we can not remove the SerializationContext as part of the constructor in the IDLParser 

      In this ticket, we should create Serialization / Deserialization for DatabaseNameUtil that takes in a ValidatedTenancyScope. The behavior should be identical to the way the SerializationContext does. 

       

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: