Skip to content

Conversation

@trs
Copy link
Contributor

@trs trs commented Jun 2, 2022

Fixes or implements VF-3664

Brief description. What is this change?

Utilize the matching groups and of regex and the lodash get method to simplify the variable annotation lookup.

We recursively replace the string to allow for deep lookups such as {array[{index}]} for more dynamic lookups.

Tests have been updated to follow the AAA pattern.

@trs trs added the dont merge label Jun 2, 2022
@trs
Copy link
Contributor Author

trs commented Jun 2, 2022

Checking with product to see if we want to support the recursive resolution, and to what extent.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

93.8% 93.8% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants