Skip to content

Conversation

@akhundMurad
Copy link
Owner

  • Introduced TypeIDFactory callable for generating TypeIDs with fixed prefixes
  • Added typeid_factory and cached_typeid_factory helpers (LRU-cached by prefix)
  • Exported factory APIs from typeid.__init__
  • Updated TypeID to validate prefixes when explicitly provided
  • Added unit tests covering factory behavior, caching, and invalid prefixes

* Introduced `TypeIDFactory` callable for generating TypeIDs with fixed prefixes
* Added `typeid_factory` and `cached_typeid_factory` helpers (LRU-cached by prefix)
* Exported factory APIs from `typeid.__init__`
* Updated `TypeID` to validate prefixes when explicitly provided
* Added unit tests covering factory behavior, caching, and invalid prefixes
@akhundMurad akhundMurad self-assigned this Dec 21, 2025
@akhundMurad akhundMurad merged commit 3efd6a1 into main Dec 21, 2025
3 checks passed
@akhundMurad akhundMurad deleted the feat/core/35 branch December 21, 2025 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants