AutoDI
AutoDI copied to clipboard
When a service fails to resolve, provide the full path to the location.
Currently you can register a delegate to fire when AutoDI fails to resolve a service type. It would be useful if in addition to reporting the type that failed to resolve it also gave the location where the attempted dependency resolution occurs.
@KennethWhite do you recall when "gave the location" means? Was looking at implementing this but can't recall the specifics of the issue we ran into.
@KennethWhite do you recall when "gave the location" means? Was looking at implementing this but can't recall the specifics of the issue we ran into.
It was an issue where a particular object could not be constructed but the stack track doesnt include the location of the CTOR to see what dependency isnt registered if I recall correctly.