Hi, (I've never contributed to an open source project but I always wanted, maybe this will be the first time :-) )
I've created a Date Order validator, and I'm wondering if I should push it to the repository ? The idea is to use the constraint on your entity class : /** * @Assert\DateOrder(earlierDatePropertyPath="myEarlierDate", laterDatePropertyPath="myLaterDate") */ class AcmeEntity { public $myEarlierDate; public $myLaterDate; } It will ensure that the earlier date is indeed earlier than the later one. It's useful for appointments, time slots,... I believe it's quite general, even though it's not as general as the official validators. It's requires no external library (hopefully !) and I've created an Unit Test. So I was just wondering if you guys think it would be useful (it will take me quite some time to see how it works, so I don't want to take the effort if you're sure it's useless). Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en