Skip to content

Commit

Permalink
Merge pull request #362 from DependencyTrack/port-jsonignore-change-3051
Browse files Browse the repository at this point in the history
port change for jsonignore on transient field
  • Loading branch information
nscuro authored Oct 19, 2023
2 parents 6560d2e + 906b2c7 commit a061aa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/dependencytrack/model/Project.java
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ public enum FetchGroup {

private transient ProjectMetrics metrics;

@JsonIgnore
private transient List<Component> dependencyGraph;

public long getId() {
Expand Down Expand Up @@ -492,10 +491,12 @@ public void addAccessTeam(Team accessTeam) {
this.accessTeams.add(accessTeam);
}

@JsonIgnore
public List<Component> getDependencyGraph() {
return dependencyGraph;
}

@JsonIgnore
public void setDependencyGraph(List<Component> dependencyGraph) {
this.dependencyGraph = dependencyGraph;
}
Expand Down

0 comments on commit a061aa0

Please sign in to comment.