Skip to content

Commit

Permalink
removed mapping annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
CriMDev97 committed Nov 22, 2023
1 parent eb1fb58 commit 9fa187a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
public interface SignalMapper {
String CORRELATION_ID_HEADER_KEY = "correlationId";

@Mapping(target = "indexSignal", source = "signal.signalId")
SignalEvent signalToSignalEvent(Signal signal);
@Mapping(target = "signalId", source = "signalEvent.indexSignal")

@Mapping(target = "correlationId", source = "correlationId")
Signal signalEventToSignal(SignalEvent signalEvent, String correlationId);
}

0 comments on commit 9fa187a

Please sign in to comment.