projects
/
scpubgit/DX.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
pervasive type constraints
[scpubgit/DX.git]
/
lib
/
DX
/
Value
/
String.pm
diff --git
a/lib/DX/Value/String.pm
b/lib/DX/Value/String.pm
index
33b110a
..
c50bd3c
100644
(file)
--- a/
lib/DX/Value/String.pm
+++ b/
lib/DX/Value/String.pm
@@
-4,7
+4,7
@@
use DX::Class;
with 'DX::Role::Value';
-has string_value => (is => 'ro', required => 1);
+has string_value => (is => 'ro', required => 1, isa => Str);
sub for_deparse { [ string => $_[0]->string_value ] }