We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$factory = new UuidFactory(new FeatureSet(true)); $guid = $factory->uuid4(); $hex= $guid->getHex();
Throws:
Ramsey\Uuid\Exception\InvalidArgumentException: The byte string received does not contain a valid version
The text was updated successfully, but these errors were encountered:
ping @ramsey
Sorry, something went wrong.
The problem is that version is fetched from a different byte between the Guid Fields implementation and normal Fields implementation.
This difference is however not addressed in UuidFactory. As a result the version is in a different byte than where Guid Fields expects it.
I'm not sure what's the correct fix though. What is the correct bytes representation for GUIDs?
No branches or pull requests
To Reproduce...
Throws:
The text was updated successfully, but these errors were encountered: