Skip to content

v0.0.4

Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 26 Apr 16:48
cc930d8

πŸš€ Enhancements

fix(regex-rule): bugfix for attribute lookup @dannyibishev (#13)

what

  • Added the right attribute lookup logic for the single_header and the single_query_argument blocks of code regarding the regex_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

references

Similar issue to #10
closes #10