This commit aligns the by-type lookup for bean overrides with what was done when a bean name is present. It now correctly generate a bean name rather than failing because no bean of that type exists. Closes gh-32990
This commit aligns the by-type lookup for bean overrides with what was done when a bean name is present. It now correctly generate a bean name rather than failing because no bean of that type exists. Closes gh-32990