[SERVER-67994] Change ResourceId constructors to take in NSS or DBName as opposed to string Created: 12/Jul/22  Updated: 29/Oct/23  Resolved: 28/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-67442 Change CollectionCatalog::addResource... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-07-25, Server Serverless 2022-08-08
Participants:

 Description   

Today, the ResourceId constructors take in a string and callers must correctly pass the toStringWithTenantId() functions. This ticket will change these to move this responsibility from the caller and move it into the ResourceId class itself.



 Comments   
Comment by Githook User [ 27/Jul/22 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-67994 Add ResourceId constructors that take NamespaceString and DatabaseName as parameters
Branch: master
https://github.com/mongodb/mongo/commit/586135f8159f72b2f42b1cbd96c93fbfbc84c13b

Generated at Thu Feb 08 06:09:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.