Nick Sutterer
Nick Sutterer
BTW we're permanently working on a new approach to Reform called `transform` where this kind of mapping will be much easier to customize!
Ok, I see the problem now. I am redesigning Reform/Disposable currently and making it easier to handle those "special" cases manually (because we can't cover all the needs without blowing...
Cool, I finally understood the difference and what's a `hint`, now!
Now this is funny, because I talked about matchers with @fernandes today. I personally don't understand what these helpers are good for? Are they meant to test "basic" validators, only?...
It would be great if those matchers were real unit tests - what do you think?
Ok, if these matchers/macros do actual unit tests I'm delighted to use them myself in my code! I thought they were just doing some reflections on the model/form.
Whoops, sorry @musaffa! :smile: I vote for `reform-matchers` so you can be King of the Castle! Thanks so much buddy. How are you gonna implement the matchers? Real unit tests...
That is pretty cool, man! Any chance we could port this on a higher level, so we can use those constraints in the form? I don't want the DB to...
I do uniqueness tests like that, too. We should provide our own matchers in addition to what exists! Is there any way we could use the matchers from above plus...
The more tests I write with forms the more redundancy I can see, so I'm really all in for Reform/Operation matchers. Not that redundancy in tests is wrong, but simple...