thoughtbot / fishery

A library for setting up JavaScript objects as test data
MIT License
877 stars 36 forks source link

Deep merge params when supplied via traits #59

Closed stevehanson closed 3 years ago

stevehanson commented 3 years ago

Previously, deep merge was only being done when merging the params supplied to build() on top of the object defined in the factory definition.

This makes it so a deep merge is also performed when merging the params supplied to params() into the params supplied to build() and also when merging params from multiple params() calls into each other.

closes #54