Use a struct type for client identifiers #3173
Labels
icebox
Issues that we will not address for the time being
type: refactor
Architecture, code or CI improvements that may or may not tackle technical debt.
Summary
Use a struct to manage client identifiers.
Create the type:
Support the following functions:
Problem Definition
It can be difficult to validate the correctness of our identifier creation/validation since we pass around a string and reference non struct functions defined here.
Proposal
Leave implementation as is for now
I've opened this issue for discussion/idea documentation, but as it could be a major API breaking change, I think it's best to leave this issue as food for thought until we are confident we could make the change without any disruption. It may be useful to use the ClientID for a limited section of the codebase, only change internal APIs.
For Admin Use
The text was updated successfully, but these errors were encountered: