Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark all controller registries as deprecated #6802

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

javiereguiluz
Copy link
Collaborator

These registries should not be needed by developers ... but EasyAdmin 5.x will offer something equivalent via some cache pool items.

@javiereguiluz javiereguiluz added this to the 4.x milestone Feb 6, 2025
@zorn-v
Copy link
Contributor

zorn-v commented Feb 9, 2025

I use controllers registry with loggable doctrine extension to generate detail page entity url like

{% set crudFqcn = ea.crudControllers.findCrudFqcnByEntityFqcn(ent.objectClass) %}
{% if crudFqcn %}
    <a href="{{ ea_url().unsetAll().setAction('detail')
                .setController(crudFqcn)
                .setEntityId(ent.objectId) }}"
        target="_blank"
    >{{ ent.objectId }}</a>
{% else %}
    {{ ent.objectId }}
{% endif %}

In mentioned cache.easyadmin I did not find such mappings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants