Skip to content

[ 2440283 ] Key pattern is empty #424

@HolQue

Description

@HolQue

We should clarify how to deal with:

keyPattern = ""

Like also

keyPattern = r'.*'

this allows empty key names

"" : 2

But this makes no sense. And empty names cannot be referenced.

For sure this is nonsense:

"" : 2,
"param" : ${}

Result:

Error: 'Invalid key name: ${}. A pair of curly brackets is empty!!!'!

I propose to let the JsonPreprocessor raise an exception in case of a user defines a regular expression that would accept empty strings.

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions