Serg Lifinsky
Serg Lifinsky
Instead of ``` html See, I can count! ``` please, generate ``` html See, I can count! ```
Current possible solution: Add interceptor on #[Before(pointcut: CommandHandler::class)], that takes the command with an entity id, then uses the repository to find the entity and returns the same or a...
Hi. I will add code snippets describing the problem. After clear all existing in database entities doctrines are perceived as new and their insertion and binding occurs, instead of just...
@dgafka https://gist.github.com/sushchyk/8ce3c718270f0ac75eb07264f899722a
No, existing tag was saved but as new record (doctrine allows cascade: ['persist']): ``` // ObjectManagerInterceptor foreach ($managerRegistries as $managerRegistry) { /** @var EntityManagerInterface $objectManager */ foreach ($managerRegistry->getManagers() as $name...
Currently for this example we should find tag in interceptor with pointcut "before" on CommandHandler (after transaction start)
Problem in using of existing entity, with current functionality of Ecotone we should inject tag repository to aggregate class or use command handler interceptor that find entity by id and...
> I'm running into this same issue. Did anything get sorted in the end as the last comment is quite a while ago and I can't find any related PR....
@unixslayer It should be a part of State / ES aggregates functionality. The need to encrypt data using symmetric or asymmetric encryption is quite a popular task