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

Validate UUID without creating UUID (and underlying byte array) #137

Closed
jerome-laforge opened this issue Nov 6, 2023 · 0 comments · Fixed by #141
Closed

Validate UUID without creating UUID (and underlying byte array) #137

jerome-laforge opened this issue Nov 6, 2023 · 0 comments · Fixed by #141

Comments

@jerome-laforge
Copy link

We have often received UUID as string format.
We use error returns by Parse(s string) (UUID, error) but we always discard UUID.

Is it possible to add Validate(s string) error that just validate the input string without created UUID (and its underlying byte array)?

@jerome-laforge jerome-laforge changed the title Validate UUID without parsing and creating UUID (and underlying byte array) Validate UUID without creating UUID (and underlying byte array) Nov 6, 2023
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 a pull request may close this issue.

1 participant