mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
chore: remove comment about errors being bad
This commit is contained in:
parent
412eca18da
commit
5d5584c215
1 changed files with 1 additions and 4 deletions
|
@ -1,10 +1,7 @@
|
|||
defimpl Phoenix.HTML.FormData, for: Ash.Changeset do
|
||||
# Most of this logic was simply copied from ecto
|
||||
# The goal here is to eventually lift complex validations
|
||||
# up into the form. While implementing this, it has become
|
||||
# very clear that ecto's changeset's implementations of errors
|
||||
# is much better than ours. Unsurprising, the current system
|
||||
# was simply tacked on based on the API error system.
|
||||
# up into the form.
|
||||
|
||||
def input_type(%{resource: resource, action: action}, _, field) do
|
||||
attribute = Ash.Resource.attribute(resource, field)
|
||||
|
|
Loading…
Reference in a new issue