Open artandor opened 3 years ago
Hi. Is this related to API-Platform? Otherwise please open an issue on Alice-Repo
The way I configure the event impacts on wether or not it is transmitted to Alice. But I'm not sure if it's an issue about the autoloader, Alice conf, or smthing else.That's why I submit this issueLe 10 juil. 2021 20:26, chris @.***> a écrit : Hi. Is this related to API-Platform? Otherwise please open an issue on Alice-Repo
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
Hi,
I'm using Alice 2.9.0 with phpunit 8.5.
I just realised that when loading fixtures, Alice doesn't trigger EventSubscribers that are autowired through EventSubscriberInterface.
It works when the service is declared manually :
config/services.yaml
src/EventSubscriber/HashPasswordSubscriber.php
But when the subscriber is autowired it doesn't
Is it normal by default or is it a bug ? If it's normal, what can i do to ensure Alice go through autowired events ?