Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant validate_attr case. (#5965)
- After change from this PR (https://github.com/phoenixframework/phoenix/pull/4601/files#diff-4307581434ae66da4750cde438c2b192c4a11c8b71ba32dbf78aea36daa0ee3eR368), `:enum` valid case becomes redundant. Next line has general check that includes valid enum case. - Also removed redundant passing throw for `:datetime` case. Instead, return already prepared result right away.
- Loading branch information