Defect 003 - Faker Helpers docs uniqueArray example using this.word.sample fails in runtime
Severity: Medium
Status: Confirmed repeatable
Summary
The published Faker Helpers docs include helpers.uniqueArray(this.word.sample, 5), but the deployed generator rejects that syntax as unsafe/complex. The equivalent helpers.uniqueArray(faker.word.sample, 5) succeeds.
Steps to Reproduce
- Open the deployed generator.
- Click
Edit as Text.
- Paste:
Words
helpers.uniqueArray(this.word.sample, 5)
- Click
Preview.
Expected Result
The documented example should generate an array of unique words, or docs should show the supported syntax.
Actual Result
The deployed app rejects the example and does not generate rows.
Evidence
Notes for Fix Agent
Either support the documented this.word.sample syntax in safe helper parsing or update docs/examples to the deployed-supported faker.word.sample form.
Defect 003 - Faker Helpers docs uniqueArray example using this.word.sample fails in runtime
Severity: Medium
Status: Confirmed repeatable
Summary
The published Faker Helpers docs include
helpers.uniqueArray(this.word.sample, 5), but the deployed generator rejects that syntax as unsafe/complex. The equivalenthelpers.uniqueArray(faker.word.sample, 5)succeeds.Steps to Reproduce
Edit as Text.Preview.Expected Result
The documented example should generate an array of unique words, or docs should show the supported syntax.
Actual Result
The deployed app rejects the example and does not generate rows.
Evidence
../videos/defect-003-helpers-unique-this-doc-example.webmNotes for Fix Agent
Either support the documented
this.word.samplesyntax in safe helper parsing or update docs/examples to the deployed-supportedfaker.word.sampleform.