Closed yaronsumel closed 5 years ago
Is there a reason this hasn't been merged yet? It looks really useful :+1:
@mwitkow what do you think about the UUID validator?
I added additional tests for the validator from Yaron and did some minor changes in our https://github.com/simplesurance/go-proto-validators fork. If you would be interested I can put either everything together in a PR or create a subsequent PR after this one got merged.
Hello @fho,
Putting everything together in a PR would be appreciated as that would directly deliver both the features of this branch and your additional testing in one go.
Again, apologies to everyone that this has been laying fallow for so long. I have only recently gotten access to the repo to pick up the maintenance.
Once that PR is up I will close this one.
hello @Helcaraxan,
thanks a lot for reviving the project and picking up maintenance. I'll put everything together in a PR until end of next week.
@Helcaraxan Great .. waiting for the PR @fho ;) !
@Helcaraxan there is the PR: https://github.com/mwitkow/go-proto-validators/pull/70
Closing this in favour of #70.
New validator: UUID
uuid is specifying which uuid version to validate, if 0 is used the accepted version will be 1 to 5
Usage:
generated code: