Skip to content

Commit

Permalink
docs: fix example of using string_length (#1575)
Browse files Browse the repository at this point in the history
Co-authored-by: Allen Wyma <>
  • Loading branch information
allenwyma authored Nov 4, 2024
1 parent c40cf84 commit c83047d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash/resource/validation/builtins.ex
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ defmodule Ash.Resource.Validation.Builtins do
## Examples
validate string_length(:slug, exactly: 8)
validate string_length(:slug, exact: 8)
validate string_length(:password, min: 6)
validate string_length(:secret, min: 4, max: 12)
"""
Expand Down

0 comments on commit c83047d

Please sign in to comment.