Closed
Description
The FactoryBean.OBJECT_TYPE_ATTRIBUTE
can be used to give type information to a FactoryBean
. The documentation isn't clear about what types can be used.
Both Spring Boot and Feign have used String
values. It appears that in reality only Class
and ResolvableType
are supported.
Should AbstractBeanFactory
also accept String
values containing class names? Or should the types supported be documented in FactoryBean.OBJECT_TYPE_ATTRIBUTE
? If String types are not supported, the openfeign code should probably change.