Skip to content

[Feature] Considering inheritance relation between actions. #180

@khesoem

Description

@khesoem

Hi,

Currently, a change is an instance of a pattern only if the mentioned entity type in the pattern specification is exactly the same as the diff entity type. See HERE. However, it would be interesting if we could define a pattern by mentioning an entity type and retrieve all changes with that type of entity or any type of entity that extends the mentioned type.

For example, this change includes an invocation update (minRatioPositions.add->Precision.equals). However, it is also an instance of expression update because invocation extends expression.
It would be interesting to define a pattern as follows and detect all instances of expression updates (including invocation updates such as the mentioned one):

<pattern name="expression_replacement">
    <entity id="1" type="Expression" />
    <action entityId="1" type="UPD"/>
</pattern>

Currently, this pattern specification does not recognize this change as a detected instance.

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