summaryrefslogtreecommitdiffstats
path: root/lib/Bread/Board/Declare/Meta/Role/Attribute.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bread/Board/Declare/Meta/Role/Attribute.pm')
-rw-r--r--lib/Bread/Board/Declare/Meta/Role/Attribute.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Bread/Board/Declare/Meta/Role/Attribute.pm b/lib/Bread/Board/Declare/Meta/Role/Attribute.pm
index f6584ae..83eeeaa 100644
--- a/lib/Bread/Board/Declare/Meta/Role/Attribute.pm
+++ b/lib/Bread/Board/Declare/Meta/Role/Attribute.pm
@@ -108,6 +108,18 @@ has associated_service => (
predicate => 'has_associated_service',
);
+=attr typemap
+
+Whether or not to create a type mapping for this service. Defaults to true.
+
+=cut
+
+has typemap => (
+ is => 'rw',
+ isa => 'Bool',
+ default => 1,
+);
+
after attach_to_class => sub {
my $self = shift;