pydantic / pydantic-extra-types

Extra Pydantic types.
MIT License
193 stars 51 forks source link

ULID type #67

Closed andygarfield closed 1 year ago

andygarfield commented 1 year ago

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

yezz123 commented 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

JeanArhancet commented 1 year ago

Hello,

Concerning this feature, I think we should use this pip https://github.com/mdomke/python-ulid

WDYT?

yezz123 commented 1 year ago

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!