-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
A builder could enable complex data creation while keeping each custom dimension more independent (fewer parameter in each signature, mix and match scenarios).
Bogus already works as a builder, but is very generic and requires relatively verbose configuration (*.RuleFor( prop => prop.Rulestuff...))
Key concerns.
- I want to keep my ability to create named scenarios
- keep overall specification short
- Keep ability for instance configuration (like persists to DB or not)
- no static extentions
- keep my orchestration layer that allows joint configuration and one handle to data preps
- This means no creating an instance for every case (like with bogus)
Possible solutions
- use a builder behind a normal dataprep (add complexity and extra definition, but fits all requirements)
- Treat my builder like it's immutable or like a c# 8 record (which has the .With() method to create modified instances)
- This could possibly chew memory
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested