Injection with DI #314
Replies: 5 comments 7 replies
-
Do you have an idea how this could be solved in a backwards compatible manner? |
Beta Was this translation helpful? Give feedback.
-
I think you'd need to verify if this happens with all DI frameworks, or just specific versions. If it's everything, that would imply that is expected behavior. |
Beta Was this translation helpful? Give feedback.
-
You can change the constructor like that: |
Beta Was this translation helpful? Give feedback.
-
See also #220. |
Beta Was this translation helpful? Give feedback.
-
I've fixed this by treating the special case where all arguments are empty the same as if they were all nulls. |
Beta Was this translation helpful? Give feedback.
-
Hi!
Injection with DI pass empty lists into constructor instead of expected null parameteres. Because of that default allowed tags not initialize. Problem can be solve in DI registration. But this this is unexpected behavior.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions