Maksim Volkau
Maksim Volkau
@phoeniks-sk You need to plan for the original Data replacement making it dynamic by either registering `asResolutionCall`: ```cs container.RegisterInstance(new Data { Text = "parent" }, setup: Setup.With(asResolutionCall: true)); ``` or...
> How to define the whitelist in the first dynamic registration? It seems to only be a problem for classes that don't have any dependencies (as Data). Because if I...
@phoeniks-sk Saw this, will check
@phoeniks-sk Hi, the problem is again with the capturing the resolution context for the dynamic resolution. In this particular case, it is captured to be a root container instead of...
The v4.8.8 with the fix is out.
@phoeniks-sk > v4.8.8, this problem also doesn't happen if B has dependency on Lazy instead of IA, which seems a bit inconsistent to me. The `Lazy` and the plain `IA`...
//cc @davidfowl If you see that, what are your thoughts?
Replacing T4 is also a good alternative.
Related #101
Consider https://github.com/AArnott/CodeGeneration.Roslyn