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

accept uuid V1 - V5 #24

Merged
merged 2 commits into from
Oct 27, 2021
Merged

accept uuid V1 - V5 #24

merged 2 commits into from
Oct 27, 2021

Conversation

zgiber
Copy link
Contributor

@zgiber zgiber commented Oct 27, 2021

Allows validation of UUIDs other than Version4.

If the restriction to v4 is deliberate please let me know, so we'll use strings with our own validation

Thanks!

@donutloop
Copy link
Contributor

Thanks for your pull request!

No, we don't enforce any restrictions on the UUID versions. Please extend the unit test cases in this file -> https://github.com/ExperienceOne/apikit/blob/master/generator/xregex/regex_test.go#L10

@donutloop
Copy link
Contributor

LGTM! @seseloos

Copy link
Contributor

@seseloos seseloos left a comment

Choose a reason for hiding this comment

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

Thank you for the pull request.

@seseloos seseloos merged commit ebff674 into ExperienceOne:master Oct 27, 2021
@zgiber zgiber deleted the support-uuid-v1-v5 branch October 27, 2021 15:50
@zgiber
Copy link
Contributor Author

zgiber commented Oct 27, 2021

👍 And thank you for apikit !

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

Successfully merging this pull request may close these issues.

3 participants