expo/entity

Redis cache key should use column name instead of field name

wschurman opened this issue · 1 comments

This is because field renames should be a safe, code-only change and not need a cache key bump.

The issue with doing this is it will cause an invalidation of all existing caches, which could cause a huge spike in DB load. To accomplish this, we'll need to create a way to let users roll out the new cache key format on a per-concrete-entity-implementation basis in one version and then in another version remove the old format.