moosetechnology / Famix-Agregator

Famix Aggregator is a decorator for the model importer.
MIT License
0 stars 0 forks source link

Empty targets in invocations #4

Open PatriciaTot opened 1 year ago

PatriciaTot commented 1 year ago

In some models, there are invocations that lack a target. You can examine the Morphic model and inspect invocations where the candidates are empty, using the following code snippet: self select: [:invoc | invoc candidates isEmpty]) The presence of such cases can potentially cause problems during the importation of invocations, as our current implementation assumes that each association has a source and a target.

NicolasAnquetil commented 1 year ago

1- what is the "Morphic model" ? What package do you put in it ? 2- what is self in code snippet ? (<morphic-model> allInvocations select: [:invoc | invoc candidates isEmpty]) 3- this looks like a bug in the model creation, not specific to the famix-aggregator (-> create issue in Famix ?)