Maksim Volkau

Results 237 comments of 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 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...

@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`...

Replacing T4 is also a good alternative.

Consider https://github.com/AArnott/CodeGeneration.Roslyn