I want to validate nested data structures. But It's not easy in Data::Validator (or Mouse::Type::Constraints). So, I made the Data::Validator::Recursive (https://github.com/xaicron/p5-Data-Validator-Recursive). my $rule = Data::Validator::Recursive->new( foo => { isa => 'Str' }, bar => { isa => 'HashRef', # default rule => { hoge => { isa => 'Str' }, fuga => { isa => 'Int' }, }, }, ); # default is
{{#tags}}- {{label}}
{{/tags}}