From 565afc7a56c520e8bf20dd8415d72481e861ed31 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 2 Mar 2011 22:28:34 -0600 Subject: more useful handling of attributes with no services defined --- lib/Bread/Board/Declare.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Bread/Board/Declare.pm') diff --git a/lib/Bread/Board/Declare.pm b/lib/Bread/Board/Declare.pm index 5480c77..a0a3789 100644 --- a/lib/Bread/Board/Declare.pm +++ b/lib/Bread/Board/Declare.pm @@ -75,7 +75,8 @@ corresponding to the type constraint. =item -Otherwise, no service is created. +Otherwise, a BlockInjection service is created which throws an exception. This allows services to be created for the sole purpose of being set through the attribute, without requiring a default to be specified. Note that +C<< required => 1 >> is still valid on these attributes. =back -- cgit v1.2.3-54-g00ecf