JMSDiExtraBundle icon indicating copy to clipboard operation
JMSDiExtraBundle copied to clipboard

Symfony autowiring broken by JMSDiExtraBundle

Open Aerendir opened this issue 7 years ago • 8 comments

It seems that the bunde breaks the autowiring functionalities of Symfony, making it impossible to use them.

All the etails in the ticket opened in the Symfony's issue tracker: https://github.com/symfony/symfony/issues/23200#issuecomment-309171399

Aerendir avatar Jun 27 '17 09:06 Aerendir

Its really a pain that this issue still exists. Is there any active development going on to fix this?

Kadbury1989 avatar Jan 11 '18 10:01 Kadbury1989

also see https://github.com/symfony/symfony/issues/27053

ostrolucky avatar Apr 28 '18 11:04 ostrolucky

I'm not sure we still need this bundle given the addition of autowiring and recent improvements to it.

Could you tell us a bit more what features you still use of this bundle that are not supported by the Symfony dependency injection container itself?

schmittjoh avatar Apr 28 '18 13:04 schmittjoh

Personally I use no features of this bundle, it's just required by jmsjobqueuebundle

ostrolucky avatar Apr 28 '18 13:04 ostrolucky

If you use the symfony4 branch, this requirement should not be there anymore.

schmittjoh avatar Apr 28 '18 13:04 schmittjoh

That's nice, but I'm hesitant to use dev branches in production. There should be a push for merging the branch and release it.

ostrolucky avatar Apr 28 '18 13:04 ostrolucky

I was using it only because required by JMSTranslationBundle. No other feature used.

Unfortunately I was forced to remove both to make Symfony autowiring work...

Aerendir avatar Apr 28 '18 14:04 Aerendir

Same here, would be great if JMSJobQueueBundle would not have a hard dependency on jms/di-extra-bundle in the case that symfony/symfony: ^3.4|^4.0 is used.

What would it take to let the symfony4 branch support symfony ^3.4|^4.0 instead of only ^4?

rvanlaak avatar May 03 '18 08:05 rvanlaak