Open
Description
Q | A |
---|---|
Feature PR | symfony/symfony#59340 |
PR author(s) | @yceruto |
Merged in | 7.3 |
We created this issue to not forget to document this new feature. We would really appreciate if you can help us with this task. If you are not sure how to do it, please ask us and we will help you.
To fix this issue, please create a PR against the 7.3 branch in the symfony-docs repository.
Thank you! 😃
Activity
chalasr commentedon Jan 11, 2025
needs to be taken into account when tackling this:
chalasr commentedon Jan 20, 2025
Also
yceruto commentedon Jan 25, 2025
Also symfony/symfony#59565
tacman commentedon Feb 13, 2025
Until the documentation is written, is there an example of a trivial command using input attributes? Thx.
chalasr commentedon Feb 13, 2025
@tacman You can find one in the code PR: symfony/symfony#59340
tacman commentedon Feb 13, 2025
Here's a working example:
yceruto commentedon Mar 4, 2025
I've started looking into this and have a question: should we replace the old signature everywhere or just add a new section for the new one?
OskarStark commentedon Mar 4, 2025
I would just add a new one
alamirault commentedon Mar 18, 2025
I think the new attribute approach will be the new standard right ?
(readonly and final classes, no inheritance, same DX than for controllers)
Newcomers to symfony shouldn't see it first ? (to see how powerfull is it)
yceruto commentedon Mar 19, 2025
I’d go with @alamirault’s view on this, but let’s wait a bit to hear other opinions.
OskarStark commentedon Mar 19, 2025
It is not feature complete now compared to the old way, so I would still propose the old version first.
@chalasr what do you think?
16 remaining items