Skip to content

phoenixframework/phoenix

Back Fix phx.new.web generator referencing Ecto (#6808)

Commit details

Fix phx.new.web generator referencing Ecto (#6808)

Description

The `phx.new.web` task is documented to create a bare Phoenix web project without database integration inside an umbrella. However, because it did not pass `--no-ecto`, it inherited the generator's default `ecto: true` setting, generating invalid references to a non-existent `<App>.Repo` and `<App>.DataCase`. This passes `--no-ecto` by default when running `phx.new.web`. We also take the opportunity to tighten test assertions and `mix format` the touched files.

Metadata

Author
Rodolfo Carvalho rhcarvalho@gmail.com
Committed
Commit

Contributors

  • Rodolfo Carvalho rhcarvalho@gmail.com Author