Open
Description
Is there a specific reason why the body is being decoded with keys as atoms?
# lib/endpoint.ex:85-89@30402ea
defp decode_response_body(body) do
# TODO: [key: :atoms] is unsafe for open-ended structures such as
# metadata and substitution_data
body |> Poison.decode!([keys: :atoms])
end
While this can be convenient, and definitely draws in Ruby's preference of symbols over strings, I feel that it unnecessarily grows the atom-space in BEAM which should be left to the determination of the end-programmer if the atom itself is not declared in-code.