The future of upgrading phoenix / liveview apps with generated code

What about this approach: CodeGen - simple, succint and customizable code generation for your libraries

I haven’t had the time to give it a spin but the idea looks promising.