-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
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.
- causes
-
SERVER-86862 IDLParserContext constructor with only fieldName and predecessor forwards to wrong constructor
- Closed
- has to be done before
-
SERVER-81790 Make ValidatedTenancyScope a required parameter of IDLParseContext
- Closed
- is related to
-
SERVER-83797 Introduce DatabaseNameUtil (de)serialize functions without SerializationContext for non idl generated command code
- Closed
-
SERVER-83798 Introduce NamespaceStringUtil (de)serialize functions without SerializationContext for non idl generated command code
- Closed