Skip to content

Commit

Permalink
Fix reference usages for Graph DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
aziemchawdhary-gs committed Nov 19, 2024
1 parent 1be8c1e commit 85cf2d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,10 @@ public void populateReferenceUsages(RootGraphFetchTree<?> instance, ModelReposit

private void populateReferenceUsagesForPropertyGraphFetchTrees(PropertyGraphFetchTree propertyGraphFetchTree, RootGraphFetchTree<?> mainTree, ModelRepository repository, ProcessorSupport processorSupport)
{
// TODO fix this reference usage: the reference should be to propertyGraphFetchTree, not mainTree
this.addReferenceUsageForToOneProperty(mainTree, propertyGraphFetchTree._propertyCoreInstance(), M2GraphProperties.property, repository, processorSupport, propertyGraphFetchTree._propertyCoreInstance().getSourceInformation());
this.addReferenceUsageForToOneProperty(propertyGraphFetchTree, propertyGraphFetchTree._propertyCoreInstance(), M2GraphProperties.property, repository, processorSupport, propertyGraphFetchTree._propertyCoreInstance().getSourceInformation());
if (propertyGraphFetchTree._subTypeCoreInstance() != null)
{
// TODO fix this reference usage: the reference should be to propertyGraphFetchTree, not mainTree
this.addReferenceUsageForToOneProperty(mainTree, propertyGraphFetchTree._subTypeCoreInstance(), M2GraphProperties.subType, repository, processorSupport, propertyGraphFetchTree._subTypeCoreInstance().getSourceInformation());
this.addReferenceUsageForToOneProperty(propertyGraphFetchTree, propertyGraphFetchTree._subTypeCoreInstance(), M2GraphProperties.subType, repository, processorSupport, propertyGraphFetchTree._subTypeCoreInstance().getSourceInformation());
}
for (GraphFetchTree subTree : propertyGraphFetchTree._subTrees())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public static void initialize()
}

@Test
@Ignore
@Override
public void testReferenceUsages()
{
Expand Down

0 comments on commit 85cf2d5

Please sign in to comment.