klum-dsl / klum-ast

Turn your models into super models
https://github.com/klum-dsl/klum-ast/wiki
MIT License
3 stars 0 forks source link

Use helper classes #214

Closed pauxus closed 2 years ago

pauxus commented 3 years ago

The current approach with (almost everything) being done via AST transformation is nice, but in very hard to debug. So let's split into separate modules, the ast transformation and helper classes. Generated methods should not have any code at all, but delegate to a given helper class / helpert method, which would be debuggable.

Open question: static methods or should every instance / rw instance get its own helper instances?