symfony / symfony/maker-bundle

"make:entity" missing options compared to "doctrine:generate"

Open
#268 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.4k
Forks
427
Avg merge
2d 22h
Merged PRs (30d)
20

Description

In Symfony3 with the "doctrine:generate" we were able to generate entities by passing all fields in an option parameter.

Now we can activate the "--no-interaction" option but we can't add all the fiels and options at once.

Shouldn't a same option be availible in the Maker Bundle? If not Why?

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 comparing the documented options for the make:entity and doctrine:generate commands, especially entity fields and --no-interaction. Trace where those command entry points define and parse options, then determine what tests cover their behavior. Done means the requested field and option input is supported or the limitation is documented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.