Annotation Interface InjectEntityId
Indicates that the annotated parameter should be injected with the entity identifier of the
EntityCreator-annotated method or constructor being invoked.
This annotation is necessary due to potential ambiguities, where, for example, both the id and the payload of the
first event can be a String. As throughout the framework the first parameter without an annotation is assumed
to be the payload, this annotation is used to indicate that the parameter should be injected with the entity
identifier instead.
- Since:
- 5.0.0
- Author:
- Mitchell Herrijgers
- See Also: