phax / phive

Generic business document validation engine
Apache License 2.0
38 stars 11 forks source link

Default or expose a method to use latest versions of rules #16

Closed adammscisz closed 1 year ago

adammscisz commented 4 years ago

Currently when new rules appear, one needs to change both: update *-rules dependency and and pass specific VESID ruleset to Registry.

It would be nice to have an option to use latest ruleset by default so that pom update is enough to be up to date with changes.

phax commented 4 years ago

That would work for all validation artefacts but may require a date for selection, in case a validation artefact is published and included before it is in effect.

fabmoll commented 3 years ago

I was just wondering how to always test the latest rules. I hope you'll be able to add it :)

fabmoll commented 2 years ago

Hello phax. Do you a date in mind to add this feature ? :) Thank you for your work!

phax commented 2 years ago

Yes, I have that in the back of my head. Like a lot of other things... sorry 🤷🏼

fabmoll commented 1 year ago

Hello Philip,

Do you think you'll add that feature in coming month ? it could be really useful for us :) I know it's not a top priority and I'm sorry to bother you with that.

Thank you Philip for the work you do in the API. Have a nice day.

Fabrice.

phax commented 1 year ago

@fabmoll yes, noted :)

phax commented 1 year ago

Finally the pseudo version latest can be used to resolve the latest version via ValidationExecutorSetRegistry.getByID. Alternatively ValidationExecutorSetRegistry.getLatestVersion can be used to manually determine the latest version.

This is part of the 8.0.1 release.