Skip to content

Add coconut-specific @:forward #31

@gene-pavlovsky

Description

@gene-pavlovsky

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions