Skip to content

Correct documentation for empty_values in Changeset.validate_required/3 - #4810

Merged
josevalim merged 1 commit into
elixir-ecto:masterfrom
kerryb:patch-1
Oct 29, 2026
Merged

josevalim merged 1 commit into
elixir-ecto:masterfrom
kerryb:patch-1

Conversation

@kerryb

@kerryb kerryb commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Documentation states that the default value of changeset.empty_values is [] and "", but it is actually just "".

Documentation states that the default value of `changeset.empty_values` is `[]` and `""`, but it is actually just `""`.
@josevalim
josevalim merged commit 4a1bedf into elixir-ecto:master Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants