Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new constraint to validate if a string is a uuid #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renangigliotti
Copy link

Fixes #

Proposed Changes

  • Add a new constraint to validate if a string is a uuid

@@ -59,3 +59,4 @@ org.valiktor.constraints.EndsWith.message=Ha d'acabar amb {suffix}
org.valiktor.constraints.NotEndWith.message=No pot acabar amb {suffix}
org.valiktor.constraints.Email.message=Ha de ser una adreça d'e-mail vàlida
org.valiktor.constraints.Website.message=Ha de ser un lloc web vàlid
org.valiktor.constraints.UUID.message=Ha de ser un UUID vàlid

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an end of line to the file, apply to all files

@jamiehunt
Copy link

Can we progress with this? Thanks.

@HendrikJanssen
Copy link

Can I help here? If we need someone to take over this PR I would gladly do this, I would really like to see this in Valiktor :)

@ydanneg ydanneg mentioned this pull request Nov 24, 2021
@ydanneg
Copy link

ydanneg commented Nov 24, 2021

#70
A created a new PR with tests and case-insensitive regex for UUID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants