Closed andygarfield closed 1 year ago
Hello, @andygarfield it would be great if you open this issue in pydantic/pydantic-extra-types.
So we can discuss it and support it while we plan to move with different types in this repository. see https://github.com/pydantic/pydantic/issues/5012
Hello,
Concerning this feature, I think we should use this pip https://github.com/mdomke/python-ulid
WDYT?
Hello,
Concerning this feature, I think we should use this pip
https://github.com/mdomke/python-ulid
WDYT?
Sounds great! we can depend on this package for this integration!
Initial Checks
Description
Would V2 welcome a ULID type? This seems like a good implementation. ULIDs are becoming more popular because as it's a timestamp and a globally unique ID all in one, and is time sortable. I don't mind working on a PR.
Affected Components
.model_dump()
and.model_dump_json()
model_construct()
, pickling, private attributes, ORM mode