The fact
Only code generation ensures type safety and prevents typing gaps.
Other two methods leave bugs and inconsistencies in production.
Click the link to read an article on the topic:
Only code generation ensures type safety and prevents typing gaps.
Other two methods leave bugs and inconsistencies in production.