[SERVER-85476] Simplify DatabaseNameUtil API Created: 19/Jan/24 Updated: 24/Jan/24 Resolved: 24/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathis Bessa | Assignee: | Mathis Bessa |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ntdi_code_quality | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2024-01-22, Service Arch 2024-02-05 | ||||||||
| Participants: | |||||||||
| Story Points: | 2 | ||||||||
| Description |
|
As part of refactoring the DatabaseNameUtil API to use a ValidatedTenancyScope we should first simplify the API by removing dead code and refactoring some logic. The ValidatedTenancyScope contains only two pieces of information right now relevant to the (de)serialziation of a DatabaseName. The SerializationContext has 5. |
| Comments |
| Comment by Githook User [ 24/Jan/24 ] |
|
Author: {'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}Message: GitOrigin-RevId: 96315964f5d0c0355a2910db42d6c4a609d75f2c |