Purpose of @TargetAggregateIdentifier on the Event class

Greetings,

This might have been covered already, but I can’t find an answer.

What is the purpose of a filed with @TargetAggregateIdentifier in an Event class?

Thank you!
Oleg

Hi Oleg,

there is no purpose. It’s probably a copy-paste mistake.
Where did you see it?

Allard

Hi Allard,

Thank you for clearing it up. I was afraid I missed on a feature :slight_smile:

I noticed those in the integration tests under AxonFramework/integrationtests/src/test/java/org/axonframework/integrationtests

Cheers,
Oleg