-
Notifications
You must be signed in to change notification settings - Fork 245
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
feat: ULID support #5092
feat: ULID support #5092
Conversation
CodSpeed Performance ReportMerging #5092 will not alter performanceComparing Summary
|
WASM Query Engine file Size
|
.expect("Expected string ID but got something else."); | ||
|
||
// Validate that this is a valid ULID value | ||
assert!(ulid::Ulid::from_string(ulid).is_ok()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, add an explicit test to ensure we emit 26-char-long ULIDs, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Uses the 26 character Crockford's base32 String representation.
Example ULIDs generated in tests:
01JFCSRJMJX6DWQ3T79T3W4HHK
01JFCSSM6ADDD95NPRAXP1YJBC
01JFCST0RA1RCJTNBTK4MTJ25J
01JFCST8GMP5G6BGX9PJJNQF67
Closes prisma/prisma#13679
Closes ORM-448