You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API Platform version(s) affected: api-platform/core v2.5.6
Description
Symfony 5.1 has been released last week, and it's deprecation handling has changed a bit. According to symfony/symfony@f10413c, you need to use not only the deprecated tag in src/Bridge/Symfony/Bundle/Resources/config/api.xml, but also provide the package name and the version number in which the deprecation has been introduced.
How to reproduce
Start a new project based on Symfony 5.1 and API Platform
Possible Solution
Change each occurence of a deprecated tag to something like
<deprecated package="api-platform/core" version="2.5">The "%service_id%" service is deprecated since API Platform 2.5.</deprecated>
The text was updated successfully, but these errors were encountered:
API Platform version(s) affected:
api-platform/core
v2.5.6Description
Symfony 5.1 has been released last week, and it's deprecation handling has changed a bit. According to symfony/symfony@f10413c, you need to use not only the
deprecated
tag in src/Bridge/Symfony/Bundle/Resources/config/api.xml, but also provide the package name and the version number in which the deprecation has been introduced.How to reproduce
Start a new project based on Symfony 5.1 and API Platform
Possible Solution
Change each occurence of a
deprecated
tag to something likeThe text was updated successfully, but these errors were encountered: