twilight-rs / cache

WIP Entity/repository-based cache implementation for Twilight.
ISC License
5 stars 3 forks source link

Move `Repository` methods to `Backend` #16

Open zeylahellyer opened 3 years ago

zeylahellyer commented 3 years ago

Move the methods on the Repository trait to the Backend so that backend implementations only have to implement them once instead of once per entity.