Description
In symfony/symfony#44705 it looks like there's a strong consensus for deprecating SensioFrameworkExtraBundle (which, IMO, makes sense; everything that bundle provides can be done with a core install these days, the only features it really provides are some annotations that affect the DX of how controllers are written).
If that bundle is deprecated, it does have some impact on features here, including:
- The request body param converter (deserialize the request into a DTO) - [HttpKernel] Create Attributes
#[MapRequestPayload]
and#[MapQueryString]
to map Request input to typed objects symfony/symfony#49138 - The
@View
annotation (which is an extension of the@Template
annotation)
The param converter can already be addressed by creating an argument resolver with an attribute for the extra configuration (IMO, with Symfony 6 being PHP 8+ and 7.4 having entered security only support, I don't think this new class would need to support annotations).
The @View
annotation would either need to be decoupled from the @Template
annotation, rewritten to use whatever replacement is introduced into the framework itself (if one is added), or deprecated in full.