Open Adzz opened 2 years ago
We should investigate how best to do this or if this is desireable / possible. Seems like we would have to implement something that implements the Phoenix.HTML.FormData protocol perhaps. Effectively very similar to changesets at that point.
Phoenix.HTML.FormData
We should also think if this is to be used as a form validation layer how would it integrate to ecto further into the stack. Could look here for inspiration: https://github.com/phoenixframework/phoenix_ecto/blob/master/lib/phoenix_ecto/html.ex
TODO
We should investigate how best to do this or if this is desireable / possible. Seems like we would have to implement something that implements the
Phoenix.HTML.FormData
protocol perhaps. Effectively very similar to changesets at that point.We should also think if this is to be used as a form validation layer how would it integrate to ecto further into the stack. Could look here for inspiration: https://github.com/phoenixframework/phoenix_ecto/blob/master/lib/phoenix_ecto/html.ex