Skip to content

Allow a better override of KeyGenerator #7

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")
 */

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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