-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Make AbstractController::render()
able to deal with forms and deprecate renderForm()
#46854
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
Conversation
2372e6b
to
8e4159a
Compare
With this change the API becomes implicit and too magical, 👎 from me. |
I suggested this change and I think it makes a lot of sense. The current method looks weird to me as it does not render a form ; it’s very confusing. |
I see the point, maybe better phpdoc blocks would help describing what these methods do? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After discussing with Nicolas, I admit I was already -1 on the previous implementation, so it might be better this way indeed.
8e4159a
to
1bfde43
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UPGRADE note missing :)
1bfde43
to
2c93315
Compare
UPGRADEd |
…th forms and deprecate `renderForm()`
2c93315
to
d47f52a
Compare
No need for
AbstractController::renderForm()
whenAbstractController::render()
can do it!