Yet another validator and formatter

Hi there. Thank you for this library. As an Anvil newbie, it’s very nice to have as a guide.

I’m curious how you do server side validation when using this? Do you just rewrite code on the server side to handle it and duplicate your rules?

It’d be wonderful to write your validation “rules” in one place, and then the validation behavior change based on where it’s being called. So, for example, on the client side you might display an error message in a label or popup, while on the server you might just return a message indicating what is wrong for logging.

I’d be very interested to know if you’ve come with a solution which covers both sides.

Thanks!