mtedone / podam

PODAM - POjo DAta Mocker
https://mtedone.github.io/podam
MIT License
326 stars 749 forks source link

Value with @Lengh annotation being left to null #325

Open sannonaragao opened 6 months ago

sannonaragao commented 6 months ago

I have a field annotated with @Length and I can't find a working example of how to make it work with the 8.0 Release.

Does anyone have a working reference for this?

WARN uk.co.jemos.podam.typeManufacturers.TypeManufacturerUtil -- Please, register AttributeStrategy for custom constraint interface org.hibernate.validator.constraints.Length, in DataProviderStrategy! Value will be left to null

daivanov commented 4 months ago

Hi,

Sorry for a delay with a reply. We have quite a few tests with @Length annotations. But of course also the field definition is important. Do you have a sample snippet?

Thanks, Daniil