pydantic / pydantic-extra-types

Extra Pydantic types.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ULID type

andygarfield opened this issue · comments

Initial Checks

  • I have searched Google & GitHub for similar requests and couldn't find anything
  • I have read and followed the docs and still think this feature is missing

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

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 pydantic/pydantic#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!