TL;DR: Just use Phoenix Diff.
Phoenix generators are great and flexible because they don't have any magic into it. You can easily change the generated code. However, this flexibility comes with a price: When something changes, it can be hard to find out what you need to change in your generated code as well.
As someone new to Elixir & Phoenix, that's an issue I'm often facing - and so is Greg Coladarci, who posted about this on the Elixir Forum.
That's how I found out about Phoenix Diff, a tool created by Navin Peiris and maintained by Aaron Renner. Thank you, Matt Jones, for the tip!
Top comments (0)