Subject: | make trait namespace configurable |
line 202:
my $possible_parent_idx =
(firstidx { /^CatalystX?::/ } @search_ns[1 .. $#search_ns]) + 1;
This excludes Catalyst app specific base classes living in the app
namespace (e.g. My::App::ControllerBase::Object should trigger a search
for traits in My::App::ControllerRole::Object::).
A possibility would be to search the hierarchy upwards until reaching
Catalyst::$MVCC.
line 227:
push @res, "${part}::${base}For::${resolved_parent_name}::$name";
Instead of the hard coded 'For' setting MX::Traits::Pluggable's
_trait_namespace would be a better and override-able option.