Skip to content

Commit 31c6cb9

Browse files
authored
docs(validation): fix allow_null example comment to permit null values
1 parent c778566 commit 31c6cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/fields/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Alternatively, they can be used alone, for example:
6262
argument :id, ID, required: false, validates: { allow_null: true }
6363
```
6464

65-
Will reject any query that passes `id: null`.
65+
Will permit any query that passes `id: null`.
6666

6767
## Custom Validators
6868

0 commit comments

Comments
 (0)