rom-rb / rom-factory

Data generator with support for persistence backends
MIT License
83 stars 42 forks source link

Raise error when trying to set missing attribute #45

Closed rawburt closed 5 years ago

rawburt commented 5 years ago

I always typo some attribute name when using a factory. rom-factory ignores these typos. This PR makes rom-factory raise an error instead of the currently "ignore all the things" functionality.

I am not sure if this is the best way to solve this problem but "it works" 🤷‍♂