We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fabc93 commit 6130b05Copy full SHA for 6130b05
1 file changed
lib/ecto/adapters/myxql.ex
@@ -159,6 +159,7 @@ defmodule Ecto.Adapters.MyXQL do
159
## Custom MySQL types
160
161
@impl true
162
+ def loaders({:array, _}, type), do: [&json_decode/1, type]
163
def loaders({:map, _}, type), do: [&json_decode/1, &Ecto.Type.embedded_load(type, &1, :json)]
164
def loaders(:map, type), do: [&json_decode/1, type]
165
def loaders(:float, type), do: [&float_decode/1, type]
0 commit comments