Skip to content

Seed faker to reduce mock data diff noise #2175

@Noyabronok

Description

@Noyabronok

Every time orval generation runs all the data from faker is updated. This creates a lot of noise in the diff on PRs for properties that didn't need to change. Can an option be added to pass the seed to the faker object used by orval? Something like mock.seed?

https://fakerjs.dev/api/faker#seed

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersmockRelated to mock generationmswMSW related issues

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions