[Catalyst] using Type::Tiny constraint objects as Args() parameters

John Napiorkowski jjn1056 at yahoo.com
Thu Aug 4 23:49:35 GMT 2022


 Yeah autoclean removes the constraints from the namespace and breaks this :). Then you get wierd issues because the code assumes you're using old style Moose stringy constraints.   Maybe not the most user friendly.
    On Monday, August 1, 2022, 02:42:28 PM CDT, Nathan Gray <kolibrie at graystudios.org> wrote:  
 
 On Thu, Jul 28, 2022 at 06:00:11PM +0000, John Napiorkowski wrote:
>  Try removing use namespace::autoclean;

Thank you for that suggestion.  I was able to get constraint
objects to work for CaptureArgs after switching from
namespace::autoclean to namespace::clean.

-kolibrie

_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20220804/28ff44f8/attachment.htm>


More information about the Catalyst mailing list