Add UUID5 support in Morphir. #231
DamianReeves
started this conversation in
Proposal
Replies: 2 comments 3 replies
-
This fits into the category of structured string types. Bosque has Typed Strings for this purpose. How do you propose adding these to Morphir? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Can you explain what "support" means specifically and how it helps with
parsing it from a String?
…On Thu, Feb 15, 2024 at 11:32 AM Damian Reeves ***@***.***> wrote:
URI and UUID are foundational as opposed to CUSIP, ISIN etc.
Without support we can't properly build URI (you could build it as a
struct, but not parse it from a string) and UUID.
I'm not saying adding all things like CUSIP and ISIN, but add the
foundational types like these that are needed to build the other more
business specific types.
—
Reply to this email directly, view it on GitHub
<#231 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA7SPN3EZEWT4PS5PAJOZDYTZBERAVCNFSM6AAAAABDCIJ7UWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIOBTGM3TC>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UUID5 is a deterministic version of the UUID.
UUID's are used in business logic to represent IDs, account numbers, keys, and other similar information.
While the initial inclination may be that this type has no place in business logic, there are in fact business cases which we have that would benefit from supporting such a type.
In the case of card numbers, we often don't want the actual card number to land in logs and other systems which can capture the card number or account number. UUID v3 & v5 both provide a deterministic hash based manner for creating a UUID which accomplishes this but would still allow us to use the meaningful account/card number in calculations.
These calculations, and logic may even include the actual production of virtual card numbers (which are just "virtual" representatiosn of a card).
Beta Was this translation helpful? Give feedback.
All reactions