Skip to content

Commit

Permalink
PYIC-7476: Suppress circular dependency warning from Sonar
Browse files Browse the repository at this point in the history
Sonar got upset about a circular dependency between the Event interface
and the ExitNestedJourneyEvent implementation.

The interface references the implementation due to how we instructr
Jackson to determine which classes to deserialise into. No idea why it
suddenly has an issue with it...
  • Loading branch information
Wynndow committed Oct 3, 2024
1 parent 777d39f commit 0bff9af
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import java.util.Map;

@SuppressWarnings({"javaarchitecture:S7027"}) // Circular dependency with implementations
@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION)
@JsonSubTypes({
@JsonSubTypes.Type(value = BasicEvent.class),
Expand Down

0 comments on commit 0bff9af

Please sign in to comment.