Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update constraintReference.adoc #23

Merged
merged 1 commit into from
Feb 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update constraintReference.adoc
adoc tweak to fix table rendering
  • Loading branch information
acanby committed Feb 23, 2017
commit 22db9dd3915db10444a0b277d4d9e97d24c8d47c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ minSize,Validates that a value's size does not fall below the given minimum valu
notEqual,Validates that that a property is not equal to the specified value,`login(notEqual: "Bob")`
nullable,Allows a property to be set to `null` - defaults to `false`.,`age(nullable: true)`
range,Uses a Groovy range to ensure that a property's value occurs within a specified range,`age(range: 18..65)`
scale,Set to the desired scale for floating point numbers (i.e., the number of digits to the right of the decimal point).,`salary(scale: 2)`
scale,Set to the desired scale for floating point numbers (i.e. the number of digits to the right of the decimal point).,`salary(scale: 2)`
size,Uses a Groovy range to restrict the size of a collection or number or the length of a String.,`children(size: 5..15)`
unique,Constrains a property as unique at the database level,`login(unique: true)`
url,Validates that a String value is a valid URL.,`homePage(url: true)`
Expand Down