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

Allow for inputs to be a string, array or object #146

Open bentonam opened 7 years ago

bentonam commented 7 years ago

Currently, model inputs can only be a string or an array, the variable is based on the name of the file. It would be convenient for this to be an object, where the file contents get assigned to the variable defined by the object.