Open
Description
I'm working a Starlette project that uses Pydantic v2. I'd be interested in trying out cacheme, but the conflicting Pydantic version requirements make it impossible. Two obvious options present themselves:
- Upgrade the Pydantic support to v2 (migration guide), or
- Make pydantic support optional (perhaps allow customization of
object_encoder
/object_decoder
on the Serialization classes, with the default being an identity function for accepting/returning primitive types.
Thank you for considering this.
Metadata
Metadata
Assignees
Labels
No labels