Deprecate ::supportedInterfaceOrClass property on normalizer/denormalizers

Created on 12 May 2023, over 1 year ago
Updated 18 July 2024, 6 months ago

Problem/Motivation

AFAICT we're replacing our
protected $supportedInterfaceOrClass

with Symfony's public function getSupportedTypes(?string $format): array.
If that is the case can/should we try to deprecate our class property $supportedInterfaceOrClass?

From #3338328-24: Update to Symfony 6.3 β†’
Details https://symfony.com/blog/new-in-symfony-6-3-performance-improvements#imp...

Proposed resolution

- remove property definition in core and throw deprecation message
- add a deprecation test and make sure all normalizers are fixed

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
BaseΒ  β†’

Last updated about 10 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024