lib/hologram/compiler/decoders/list_type_decoder.ex
defmodule Hologram.Compiler.ListTypeDecoder do
alias Hologram.Compiler.Decoder
def decode(%{"data" => data}) do
Enum.map(data, &Decoder.decode/1)
end
end
defmodule Hologram.Compiler.ListTypeDecoder do
alias Hologram.Compiler.Decoder
def decode(%{"data" => data}) do
Enum.map(data, &Decoder.decode/1)
end
end