Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBIx-NinjaORM CPAN distribution.

Report information
The Basics
Id: 81829
Status: resolved
Priority: 0/
Queue: DBIx-NinjaORM

People
Owner: Nobody in particular
Requestors: AUBERTG [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Simplify invalidate_cached_object()
get_object_cache_key() normalizes caching to use the field defined by get_cache_key_field(). invalidate_cached_object() however expires cache using the primary key and all the unique fields defined for the class. I think we can simplify invalidate_cached_object() to only expire cache based on the field returned by get_cache_key_field(), or remove the cache key normalization performed by get_object_cache_key().