Fixed null-handling in the IDENTITY path parser

This commit is contained in:
Kir_Antipov 2024-01-04 09:48:34 +00:00
parent c6583524f5
commit d62de05339

View file

@ -26,7 +26,7 @@ export interface ActionParameterPathParser {
*
* @returns An array containing a single element, which is the name of the parameter.
*/
export const IDENTITY_ACTION_PARAMETER_PATH_PARSER: ActionParameterPathParser = name => [name];
export const IDENTITY_ACTION_PARAMETER_PATH_PARSER: ActionParameterPathParser = name => [name || ""];
/**
* Splits the parameter name by non-letter and non-number characters, converts each word to lowercase,