Connection lost
Reconnecting. If you just saved something, check that it saved before trying again.
Server error
Reconnecting to the server. If you just saved something, check that it saved before trying again.
Facilitating Phoenix upgrade process
0 comments
Usually, when I upgrade apps to newer versions of Phoenix, I regenerate the app to ensure I get all the goodies.
Dealing with dependencies is one of the worst parts, but I make it easier by separating Phoenix from the app dependencies.
def project do
[
# ...
deps: phoenix_deps() ++ app_deps(),
]
end
defp app_deps do
[
# ...
]
end
defp phoenix_deps do
[
{:phoenix, "~> 1.7.14"},
{:phoenix_ecto, "~> 4.5"},
{:ecto_sql, "~> 3.10"},
# ...
]
end
Then it’s easier to check the difference using git.
This is a part of the code generated by optimum_gen_infra.