We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3d6e8f commit f048839Copy full SHA for f048839
backend/src/lib/template/dot-access.ts
@@ -30,7 +30,7 @@ export const getValueByDot = (
30
typeof current !== "string" &&
31
typeof current !== "number" &&
32
typeof current !== "boolean" &&
33
- !Array.isArray(current)
+ !(Array.isArray(current) && current.every(item => typeof item === "string"))
34
) {
35
return defaultValue;
36
}
0 commit comments