Konstantin Tennhard
Konstantin Tennhard
I'm happy to do that once I figured out how to install the files. Where do you put the files in the `src/` directory on Windows so that the Native...
It certainly wouldn't hurt, but I would call the method `succeed` so it resembles the name of the state. If you open up a PR, I'll merge it.
This is indeed specified behaviour: https://github.com/t6d/smart_properties/blob/master/spec/required_values_spec.rb. That said, I'm currently working towards a `2.0` release and will investigate whether making the behaviour configurable is an option.
@exterm, does this in essence capture what needs to be done? @SebastianSzturo, any concerns in regard to fundamentally changing the internal flow of information? I expect we can do this...
There is no harm in adding a `prepares` hook, so that the execution order would be `prepares -> converts -> accepts`. I'll actually try and release this as a feature...
By the way, I can highly recommend using dedicated objects for complex validation and conversion operations: [SmartProperties advanced input validation](http://t6d.de/presentations/smart-properties/#6).