Skip to content

Usage of implicit type casts #5

@georghinkel

Description

@georghinkel

I just came across the name evaluation contained in the Families2Persons example. The expression there is the following:

Evaluate ComputeFullName {
  field fullName
  expression member.firstName + ' ' + member.eContainer.lastName
  target SplitByGender
}

The first very bad thing here is obviously that eContaineris something very specific to EMF - which is not suitable for the TTC that should be somewhat independent of EMF.

The second big obstacle here is that it is absolutely not clear what the type of the eContainer could be. This is an obstacle for any strongly-typed approach. So I would like to ask you to add an optional field to this expression type that specifies the type of the expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions