:Artifact nodes provide a CONTAINS relation to all included :File nodes. The latter can be :Directory nodes as well having CONTAINS relations to their contained :File nodes. This makes the CONTAINS relation ambiguous.
As :Artifact nodes already define :REQUIRES relations it should be considered to replace (:Artifact)-[:CONTAINS]->(:File) by (:Artifact)-[:PROVIDES]->(:File).
As this would represent a breaking change, the PROVIDES relation should be introduced in parallel to the existing CONTAINS relation and a scanner configuration added to deactivate creating the latter if needed. The behavior can be flipped in a subsequent release.
:Artifactnodes provide aCONTAINSrelation to all included:Filenodes. The latter can be:Directorynodes as well havingCONTAINSrelations to their contained:Filenodes. This makes theCONTAINSrelation ambiguous.As
:Artifactnodes already define:REQUIRESrelations it should be considered to replace(:Artifact)-[:CONTAINS]->(:File)by(:Artifact)-[:PROVIDES]->(:File).As this would represent a breaking change, the
PROVIDESrelation should be introduced in parallel to the existingCONTAINSrelation and a scanner configuration added to deactivate creating the latter if needed. The behavior can be flipped in a subsequent release.