OptionalinitialControls the minimum number of entities generated for each entity type in the initial pool.
The initial pool defines the baseline set of entities that are created before any relationships are established. Other entities may be created later to satisfy relationship requirements.
// Ensure at least 2 employees and at most 5 teams in the initial pool
// But possibly more than 5 teams at the end
{ initialPoolConstraints: { employee: { minLength: 2 }, team: { maxLength: 5 } } }
When unspecified, defaults from array are used for each entity type
OptionalnoDo not generate values with null prototype
OptionalunicityDefines uniqueness criteria for entities of each type to prevent duplicate values.
The selector function extracts a key from each entity. Entities with identical keys
(compared using Object.is) are considered duplicates and only one instance will be kept.
Constraints to be applied on entityGraph
Remarks
Since 4.5.0