generateId

Generates a unique ID string for the given key.

Return

the generated ID as a string

Parameters

key

the NamedAggregate for which to generate the ID