mtedone / podam

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

Add support for @FutureOrPresent, @PastOrPresent constraint annotations and java.time.* classes as target attributes #323

Closed liam-kincaid closed 4 months ago

liam-kincaid commented 10 months ago

podam.tar.gz

I have write the support for new Java.time classes. If you want to use them, you could You could better use "jakarta.validation.constraints" (@Futur, @FuturOrPresent, @PastOrPresent, @Past)

daivanov commented 10 months ago

If you want, you can make a pull request.

Thanks, Daniil

liam-kincaid commented 10 months ago

If you want, you can make a pull request.

Thanks, Daniil

Does it means JDK8+ migration for you or not ? Current LTS is 11 for instance. I mean JDK8 and no JDK9 module or JDK11. Do you have a preference ?

daivanov commented 10 months ago

Fixed in Podam 8.0.1 or later

liam-kincaid commented 10 months ago

Fixed in Podam 8.0.1 or later

I have made a PR.

Regards

daivanov commented 10 months ago

Yes, I commented PR. But I don't see comments somehow. I added comments again. The support for java.time.* classes is already in Podam 8.0.1 related to jakarta.validation-api. Still the change is really large.

Thanks, Daniil