[SERVER-82352] Replace tenantId and SerializationContext with ValidatedTenancyScope in IDLParserContext constructor Created: 20/Oct/23 Updated: 18/Dec/23 Resolved: 18/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matt Broadstone | Assignee: | Mathis Bessa |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 18/Dec/23 ] |
|
Author: {'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}Message: GitOrigin-RevId: 08aee09649420758a33fa005d81032956c28e7f7 |