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

Replace tenantId and SerializationContext with ValidatedTenancyScope in IDLParserContext constructor

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25

      Currently the IDLParserContextBase accepts a tenantId and SerializationContext in a few of its constructors. We should replace both of these with ValidatedTenancyScope and use that as the source-of-truth for tenant id and tenant protocol when parsing BSON into IDL types. Note that this ticket does not require ValidatedTenancyScope (that work is left to SERVER-81790), in this ticket we should make it an optional parameter.

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: