Docs required for dealing with null or blank values #20

jamescookie opened this Issue May 3, 2012 · 1 comment

2 participants


I have been writing a custom constraint, but it was obvious that the validate method was not getting called when null or blank values were passed to it.
I had to resort to digging through the code to see if I could work out why this was. I found out that I could get the validate method to fire by having these two lines in my constraint:

def skipBlankValues = false
def skipNullValues = false

If this could be mentioned in the docs it would have saved me a lot of time!

@geofflane geofflane was assigned May 3, 2012

Seems like a good idea. Will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment