I think coconut could benefit from it's own extended version of tink_lang's @:forward
Limitations of using @:forward now:
- Doesn't generate an observable for the property
- If the target field's properties allow write access (e.g. a simple VO with plain vars, marked
@:observable), setters will be generated (on the other hand it can be argued that the VOs should be properly defined as immutable)
- Haven't tried this: if properties are forwarded to a nested coconut model, is every kind of property forwarded correctly?
I think coconut could benefit from it's own extended version of tink_lang's
@:forwardLimitations of using @:forward now:
@:observable), setters will be generated (on the other hand it can be argued that the VOs should be properly defined as immutable)