- make ACCEPT_CONTEXT and COMPONENT optional in Catalyst::IOC::BlockInjection and Catalyst::IOC::ConstructorInjection
- Create COMPONENTSingleton life cycle
- - Creating service()-like sugar for component
-
- Test cases for extending the container in an application.
- Using the sugar added in the previous item
- Test when Model::Foo depends_on Model::Bar
$args{dependencies}{application_name} = depends_on( '/application_name' );
my $lifecycle = $args{lifecycle} || 'Singleton';
- $args{lifecycle} = grep( m/^$lifecycle$/, qw/COMPONENTSingleton Request/)
+ $args{lifecycle} = grep( m/^$lifecycle$/, qw/COMPONENTSingleton Request/ )
? "+Catalyst::IOC::LifeCycle::$lifecycle"
: $lifecycle
;