How to Simplify Preparing Data?
Open
enhancement
- Dominant language
- Elixir
- Stars
- 87
- Forks
- 12
- Avg merge
- 21h 40m
- Merged PRs (30d)
- 2
Description
This is the "pseudo function" I created in: https://github.com/dwyl/phoenix-ecto-encryption-example
```elixir
defp prepare_fields(changeset, schema) do
User.__schema__(:fields)
# |> IO.inspect
|> Enum.each(fn field ->
IO.inspect field, label: field
User.__schema__(:type, field)
|> IO.inspect
end)
#
# IO.inspect changeset, lable: "changeset"
end
```
My plan is to _expand_ it here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.