pon., 7 gru 2020 o 15:24 Paul Zepernick
<paul.zepern...@healthsmart.com.invalid> napisał(a):

> Is there any way to take a method that has been excluded from validation
> in the configuration and turn it back on for a single action?  For example,
> I am using the REST plugin which excludes the show() method from the
> validation.  99% of the time I do not have any validation that I want to
> run, but I do have some edge cases where it would be helpful to have the
> validate() / validateShow() available for a particular action.
>

Not sure if I understand, you can add your conditional validation logic
into "validateShow()", so in 99% this method will do nothing, but in 1% of
conditions it will perform the validation.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

Reply via email to