Hey guys.
Is there a way to choose what will be generated by mix phx.gen.json
?
I just want to generate the context
, tests
and migrations
. I don’t want controllers
and views
Hey guys.
Is there a way to choose what will be generated by mix phx.gen.json
?
I just want to generate the context
, tests
and migrations
. I don’t want controllers
and views
Hello and welcome,
If You don’t want controllers and views, You might use…
mix phx.gen.context