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

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

    • Service Arch
    • Service Arch 2024-02-05, Service Arch 2024-02-19, Service Arch 2024-03-04, Service Arch 2024-03-18, Service Arch 2024-04-01, Service Arch 2024-04-15, Service Arch 2024-04-29
    • 4

      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 NamespaceStringUtil 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:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: