Closed selmanjfb closed 4 years ago
The problem with this, if we change order of invocation. This will force all TypeManufacturers to implement what currently AttributeStrategies do and will reduce value of AttributeStrategies. While in fact AttributeStrategies are more specific than TypeManufacturers, and in general Podam tries to go from calling more specific strategies over more generic.
Thanks, Daniil
Hello,
Ive implemented my custom StringTypeManufacturerImp like this:
getType() function is not getting called for attributes of type String that are annotated with javax.validation.constraints.Size
When i remove the @Size annotation CustomStringManufacturer works as expected.