You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Delegate-lookup-meta.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,8 +178,7 @@ class CompositeContainer {
178
178
179
179
Cons have been extensively discussed [here](https://github.com/container-interop/container-interop/pull/8#issuecomment-51721777).
180
180
Basically, forcing a setter into an interface is a bad idea. Setters are similar to constructor arguments,
181
-
and it's a bad idea to standardize a constructor.
182
-
This outweights the benefits of the interface.
181
+
and it's a bad idea to standardize a constructor: how the delegate container is configured into a container is an implementation detail. This outweights the benefits of the interface.
183
182
184
183
### 4.4 Alternative: no exception case for delegate lookups
0 commit comments