test-fullautomation / python-jsonpreprocessor

A preprocessor for json files
Apache License 2.0
2 stars 2 forks source link

Implicit creation not blocked #248

Closed HolQue closed 1 month ago

HolQue commented 1 month ago

In this case:

"keyA" : "keyA",
"keyB" : "keyB",
"keyC" : "keyC",
${dictParam.${keyA}.${keyB}.${keyC}} : 1

the implicit creation of dictParam is blocked (like expected).

But the same in standard notation:

"keyA" : "keyA",
"keyB" : "keyB",
"keyC" : "keyC",
${dictParam}['keyA']['keyB']['keyC'] : 1

is not blocked. Why not?

Both should be blocked.

HolQue commented 1 month ago

invalid