Framework
parseLegacyKey()
Function: parseLegacyKey()
function parseLegacyKey(composedKey, separator): {
key: string;
namespace: string[];
}Parse a legacy composed key back to namespace and key.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
composedKey | string | undefined | The legacy composed key |
separator | string | DEFAULT_NAMESPACE_SEPARATOR | Namespace segment separator (default: '/') |
Returns
{
key: string;
namespace: string[];
}Object with namespace array and key
