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

Allow 0 to be a valid UUID #325

Merged
merged 2 commits into from
Aug 1, 2021
Merged

Conversation

gavinhenderson
Copy link
Contributor

Fixes #324

Changes made:

  • Use nullish coalescing to check if a UUID is given rather than a falsy check
  • Change UUID type to be a string or number
  • Add a regression test

Copy link

@aviranbergic aviranbergic left a comment

Choose a reason for hiding this comment

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

much appreciated change!

Copy link

@holloway holloway left a comment

Choose a reason for hiding this comment

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

Excellent, nice one!

@holloway holloway merged commit 51a38ae into springload:master Aug 1, 2021
@holloway
Copy link

holloway commented Aug 1, 2021

Released as version 3.3.5

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.

Cannot use 0 as a UUID
3 participants