Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: faker error for nested lookups in test data #46

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

ewingjm
Copy link
Member

@ewingjm ewingjm commented Nov 18, 2020

Purpose

JSON syntax was mistakenly being interpreted as faker syntax. A nested lookup at the bottom of the JSON would end with }}, causing faker to run.

Approach

Runs faker on JSON property values rather than the JSON as a whole.

TODOs

  • Automated test coverage for new code
  • Documentation updated (if required)
  • Build and tests successful

json syntax was mistakenly being interpreted as faker syntax
@ewingjm ewingjm added the bug Something isn't working label Nov 18, 2020
@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

87.5% 87.5% Coverage
0.0% 0.0% Duplication

@ewingjm ewingjm merged commit 88a5026 into master Nov 18, 2020
@ewingjm ewingjm deleted the bugfix/nested-lookup-creation-throws-faker-error branch November 18, 2020 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants