Skip to content

Commit

Permalink
updated DynamicEntityGraph paths
Browse files Browse the repository at this point in the history
  • Loading branch information
spinsysmpeterson committed Dec 23, 2024
1 parent a1fc308 commit e39de7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ public class CcServiceImpl extends AbstractDaoService implements CcService, Gene
private Map<String, FeatureExtraction.PrespecAnalysis> prespecAnalysisMap = FeatureExtraction.getNameToPrespecAnalysis();

private final EntityGraph defaultEntityGraph = DynamicEntityGraph.loading().addPath(
"cohortDefinitions",
"featureAnalyses",
"stratas",
"parameters",
"createdBy",
"cohortDefinitions").addPath(
"featureAnalyses").addPath(
"stratas").addPath(
"parameters").addPath(
"createdBy").addPath(
"modifiedBy"
).build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ public class FeAnalysisServiceImpl extends AbstractDaoService implements FeAnaly
private final ApplicationEventPublisher eventPublisher;
private FeAnalysisAggregateRepository aggregateRepository;

private final EntityGraph defaultEntityGraph = DynamicEntityGraph.loading().addPath(
"createdBy",
"modifiedBy"
).build();
private final EntityGraph defaultEntityGraph = DynamicEntityGraph.loading().addPath("createdBy").addPath("modifiedBy").build();

public FeAnalysisServiceImpl(
final FeAnalysisEntityRepository analysisRepository,
Expand Down

0 comments on commit e39de7c

Please sign in to comment.