-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
ConsoleRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)
Description
Description
Hello
RFC regarding to add more typehint on Symfony/Component/Console/Input/Input as attributes.
Can we imagine "mimicking" #49138 but for console in some way?
bin/console (cli entry point) can leverage attributes to validate/parse/transform user land inputs before command is really executed
(the same way public/index.php (web entry point) now leverage tons of new features since v6.3
- https://symfony.com/blog/new-in-symfony-6-3-mapping-request-data-to-typed-objects
- https://symfony.com/blog/new-in-symfony-6-3-query-parameters-mapper
- (https://symfony.com/blog/new-in-symfony-6-3-targeted-value-resolvers)
Thanks!
Example
MapQueryString=>MapInputString- ... try to see what usage can be backported from the "web request" context
no example/no idea of better naming and related implementation
ro0NL, ruudk, oleg-andreyev, Zuruuh, willemverspyck and 5 more
Metadata
Metadata
Assignees
Labels
ConsoleRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)