Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Objects As Values? #4

Open
wants to merge 1 commit into from

1 participant

@ubu

Adjusted type constraints to allow Field object's original_value and post_filter_value attributes to hold objects. ticket reference: #URMOM

Note: I didn't really explore the deeper implications of this-- it does what I need it to for the ways we're using D::V and the test suite still passes-- but it might break the filters, etc. Your thoughts?

@ubu ubu Adjusted type contraints to allow Field object's original_value and p…
…ost_filter_value attributes to hold objects. ticket reference: #URMOM
c5fe7d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 28, 2011
  1. @ubu

    Adjusted type contraints to allow Field object's original_value and p…

    ubu authored
    …ost_filter_value attributes to hold objects. ticket reference: #URMOM
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Data/Verifier/Field.pm
View
4 lib/Data/Verifier/Field.pm
@@ -19,7 +19,7 @@ Predicate that returns true if this field has an original value.
has original_value => (
is => 'rw',
- isa => 'Maybe[Str|ArrayRef|HashRef[Str]]',
+ isa => 'Maybe[Str|ArrayRef|HashRef[Str]|Object]',
predicate => 'has_original_value'
);
@@ -36,7 +36,7 @@ Predicate that returns true if this field has a post filter value.
has post_filter_value => (
is => 'rw',
- isa => 'Maybe[Str|ArrayRef|HashRef[Str]]',
+ isa => 'Maybe[Str|ArrayRef|HashRef[Str]|Object]',
predicate => 'has_post_filter_value'
);
Something went wrong with that request. Please try again.