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

[doctrine > make:entity] define default value in wizzard for type boolean (suggestion) #1362

Open
m-dot-wigger opened this issue Sep 21, 2023 · 0 comments

Comments

@m-dot-wigger
Copy link

I love the make:entity command.
However, if I could define default values, I'd like it even more. This default values should be set for the initalization of php property in the Entity-Class and also for the attribute ORM/Column in the "options" array (so that the db enforces it as well)

I made the changes locally for boolean to set false as default. Please guide me how to provide my changes to the community.
It is still missing some parts like configurability (leave wizzard as is and only if certain config is set enable this feature), testing (write a test for this usecase)

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

No branches or pull requests

1 participant