fix(Summarize Node): Fix property key with dot notation (#14528)

This commit is contained in:
Elias Meire
2025-04-10 17:18:27 +02:00
committed by GitHub
parent 61957899e1
commit c89010871d
2 changed files with 92 additions and 28 deletions

View File

@@ -56,7 +56,7 @@ function isEmpty<T>(value: T) {
}
function normalizeFieldName(fieldName: string) {
return fieldName.replace(/[\]\["]/g, '').replace(/[ .]/g, '');
return fieldName.replace(/[\]\["]/g, '').replace(/[ .]/g, '_');
}
export const fieldValueGetter = (disableDotNotation?: boolean) => {