Closed pakrym closed 5 years ago
Changing cache key from Tuple<CallSite, Type> allows us:
Tuple<CallSite, Type>
The cache key is changed to (type, slot) pair where type is service type and slot is an index of the item in case it was resolved in IEnumerable<Type>
(type, slot)
type
slot
IEnumerable<Type>
Additional changes:
Any impact on user code (i.e. is it a breaking change for users?)
No
@pakrym could you either merge or close this? @natemcmaster is going to move this to the mondo repo and moving PRs are tricky. Thanks.
Changing cache key from
Tuple<CallSite, Type>
allows us:The cache key is changed to
(type, slot)
pair wheretype
is service type andslot
is an index of the item in case it was resolved inIEnumerable<Type>
Additional changes: