Skip to content

Commit

Permalink
fix(core): prevent Jackson from using cluster-level mutating setters
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mulier-p committed Sep 14, 2023
1 parent f6b326c commit 6e8c2fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public String getUid() {
}

@Override
@JsonIgnore
public void setUid(String uid) {
graph.nodes().stream().filter(node ->
// filter other clusters' root & end to prevent setting uid multiple times
Expand All @@ -116,6 +117,7 @@ public void setUid(String uid) {
}

@Override
@JsonIgnore
public void setError(boolean error) {
this.error = error;

Expand Down

0 comments on commit 6e8c2fc

Please sign in to comment.