Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #62693 and #62726
License MIT

The root issue under #62693 was that the innermost decorated service (the original service wrapped by all decorators) was getting inlined into the first decorator during container compilation. When the service is inlined, it no longer exists as a separate service in the container, so TestContainer::set() can't replace it.

@HypeMC
Copy link
Member

HypeMC commented Dec 17, 2025

I'm afraid this still doesn't solve the HttpClient problem because the service name is different. For example, before it was my.client and now it's my.client.scoping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment