Skip to content
New issue

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

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

Already on GitHub? # to your account

[make:entity] default value #1557

Open
seb-jean opened this issue May 10, 2024 · 1 comment
Open

[make:entity] default value #1557

seb-jean opened this issue May 10, 2024 · 1 comment

Comments

@seb-jean
Copy link
Contributor

seb-jean commented May 10, 2024

Hi,
It might be cool to ask for a default value.
Then the default value will be put in __construct() and in #[ORM\Column(options: ['default' => ...])]
I also refer to this link: https://hardly-smart.fr/articles/3/pourquoi-il-ne-faut-pas-mise-de-valeur-par-defaut-dans-les-entites-doctrine

@seb-jean seb-jean changed the title [make:entity] default value [make:entity] default value May 10, 2024
MathisBurger added a commit to MathisBurger/maker-bundle that referenced this issue May 10, 2024
MathisBurger added a commit to MathisBurger/maker-bundle that referenced this issue May 10, 2024
MathisBurger added a commit to MathisBurger/maker-bundle that referenced this issue May 10, 2024
@MathisBurger
Copy link

Might be fixed by #1558

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

No branches or pull requests

2 participants