#102008Interface Alias is shared by default
Description
Normally, a Service is only shared when it extends the `SingletonInterface` or set directly.
This Service below acts as a singleton, but is not expected to be one as it doesn’t extend the `SingletonInterface`.
My\Extension\Domain\Interface\MyServiceInterface:
alias: My\Extension\Service\MyService
public: true
To achieve it you need to add the following:
My\Extension\Service\MyService:
shared: false
Wouldn’t it make more sense to also make the service shared: false if it is aliased and only shared if it uses the SingletonInterface?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.