v0.0.4
π Enhancements
fix(regex-rule): bugfix for attribute lookup @dannyibishev (#13)
what
-
Added the right attribute lookup logic for the
single_header
and thesingle_query_argument
blocks of code regarding theregex_pattern_set_reference_statement_rules
dynamic block.This was done to rectify a misconfiguration and also follows the existing configuration design.
why
- Attribute lookup failed for single_header. The following screenshot was the error I was receiving
β 420: name = single_header.value.name
β βββββββββββββββββ
β β single_header.value is 1
β
β Can't access attributes on a primitive-typed value (number).
FYI: Ignore the line number in the nippet. It's from an edited fork of your repo. But this bug does exist here as well