bentonam / fakeit

Generates JSON documents based on models defined in YAML and adds them to a Couchbase Bucket
MIT License
86 stars 21 forks source link

data blocks not being run on definitions #58

Closed ghost closed 8 years ago

ghost commented 8 years ago

If a referenced definition contains a pre_build/post_build/build block, the property containing the reference will generate no data. This can be seen in the contacts example as the emails array will always generate empty. Removing the data block and any dependent properties will result in data being generated via the properties block.