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

Support extra fields and remove SerializationContext in building OpMsgRequest with ValidatedTenancyScope

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2024-01-22
    • 2

      Support extra fields when building OpMsgRequest with ValidatedTenancyScope.

      The OpMsgRequest::createWithValidatedTenancyScope function should be changed to take in extraFields so that this function can be commonly used in more use cases which include extra fields.

      As ValidatedTenancyScope is a source of creating SerializationContext,  this function need not to take in SerializationContext object. In this ticket, we can remove SerializationContext from the input params.

            Assignee:
            sophia.tan@mongodb.com Sophia Tan
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: