summaryrefslogtreecommitdiffstats
path: root/lib/Bread/Board/Declare.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-03-02 22:28:34 -0600
committerJesse Luehrs <doy@tozt.net>2011-03-02 22:35:01 -0600
commit565afc7a56c520e8bf20dd8415d72481e861ed31 (patch)
tree3a31738c0f0dbe8bc4f2447102d30430269fc4ca /lib/Bread/Board/Declare.pm
parent2b95f03cda1e9f719624e253a8ed24a2aac5a143 (diff)
downloadbread-board-declare-565afc7a56c520e8bf20dd8415d72481e861ed31.tar.gz
bread-board-declare-565afc7a56c520e8bf20dd8415d72481e861ed31.zip
more useful handling of attributes with no services defined
Diffstat (limited to 'lib/Bread/Board/Declare.pm')
-rw-r--r--lib/Bread/Board/Declare.pm3
1 files changed, 2 insertions, 1 deletions
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