You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updated Elixir from 1.6 to 1.7 the params variable will always be equal to %{} outside the if statements
params = %{}
if Map.has_key?(entities, "email") do
params = Map.put_new(params, :email, get_values(entities["email"]))
end
Expected behavior
The params variable should be correctly assigned for now and updating to 1.7 shouldn't break such a code since nothing has been mentioned in the release not of 1.7