Subject: | Catalyst::Request for request |
I hope we can add Catalyst::Request to your
has request => (
is => 'ro',
isa => 'CGI|HTTP::Engine::Request|HTTP::Request',
required => 1,
);
so that isa would be
CGI|HTTP::Engine::Request|HTTP::Request|Catalyst::Request
or more flexible, you can write like
subtype 'Request' => as 'Object' => where {
$_->can('param') && $_->can('header') };
something like that is good I think. so that CGI::Simple or other CGI::*
is acceptable for your module.
Thanks.