I’m using Phoenix 1.3 and used the following generator mix phx.gen.json Games Player players
and it generated all the needed files. Now I’m trying to add a new schema to the same context using mix phx.gen.json Games Team teams
and I got the following warning:
The following files conflict with new files to be generated:
- lib/test_api_web/views/changeset_view.ex
- lib/test_api_web/controllers/fallback_controller.ex
See the --web option to namespace similarly named resources
Proceed with interactive overwrite? [Yn]
it’s not completely clear to me why I’m getting this warning/error, should I go ahead? or is there something I’m doing wrong?
thanks