Skip to content

Commit 68f160f

Browse files
authored
Merge pull request #5405 from tetzng/patch-1
docs: correct `allow_null` example to indicate null values are permitted
2 parents c778566 + 31c6cb9 commit 68f160f

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)