khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
61 stars 31 forks source link

Make prepare_params return a false value if any param validation fails #86

Closed mschout closed 4 years ago

mschout commented 5 years ago

Previously, if an optional param failed to valid, this still returned a true value. This was problematic if you had an "optional" param that has a type constraint such as Enum.

Fixes #85

mschout commented 4 years ago

Any chance of a CPAN release with this fix soon?

khrt commented 4 years ago

Hi, sorry for a long delay. The new version entered CPAN and must become available in couple of hours.