Hi.

I am very interested in using Typed Factory interfaces to resolve some
of my component dependencies. However, I do not like the fact that I
have to name the factory method arguments exactly the same as my
component's constructor parameters.

I find that this too fragile a binding because the compiler will not
be able to inform developers of a possible code break if they ever
change either the factory method argument or constructor parameter
name without also changing the other.

I guess that I could handle this myself by implementing my own
ITypedFactoryComponentSelector, but I was wondering if there were any
plans to provide this out of the box in the next official release
(2.5) of Windsor?

I noticed that there are already plans to include added support for
typed arguments in many other areas, why not here too?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to