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

Setup phases #156

Closed pauxus closed 1 year ago

pauxus commented 5 years ago

in addition to #155 and #146 we could structure the whole setup into phases:

this would allow central structuring of the lifecycle of an model, help with readable error and validation messages and make the code cleaner.

However, a phase mechanism might make it necessary to include more classes in the classpath

pauxus commented 5 years ago

Phase apply defaults (before or after validate?)

pauxus commented 1 year ago

Apply is no separate phase, since apply is done per object and not per tree