You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Extract shared base classes to eliminate duplication (#50)
Extract shared base classes to eliminate repository and entity duplication
- Add _EntityBase with shared id, created_at, __eq__, __hash__ for Entity and ImmutableEntity
- Add _RepositoryBase with shared session, create, ID extraction, and pagination methods
- BaseRepository and ImmutableBaseRepository become thin subclasses with only their specific behaviour
- Zero breaking changes: all public class names, signatures, and imports unchanged
0 commit comments