Skip to content

Allow a better override of KeyGenerator #7

@borisguery

Description

@borisguery

For instance it is only possible to set a global key generator which will be used for ALL caches.

We should allow to set a per-cache key generator as to override it in key-generator option to annotation.

<?php
/**
 * @Cacheable(caches="users", key="#user.getUsername(), key-generator="request_key_generator")
 */

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions