EasyCorp / EasyCorp/EasyAdminBundle

Add ability to specify the default crud controller for an entity

Open
#7,656 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting feedback
Dominant language
PHP
Stars
4.3k
Forks
1.1k
Avg merge
8d 2h
Merged PRs (30d)
11

Description

Short description of what this feature will allow to do:
Add some form of option to specify a crud controller as the default one when you have multiple controllers for one entity.

The default should then be used for stuff like autocomplete associations and so on.

Example of how to use this feature
Probably just add an setDefault to the CrudDto or something like that

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how EasyAdmin selects a CRUD controller for an entity, especially for association autocomplete, and identify the existing CrudDto configuration entry point. Define how a default controller is declared when several controllers target one entity, then verify that the selected controller is used consistently by the affected features.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.