Skip to content

AdvancedNameConverterInterface (in HydraPrefixNameConverter) is deprecated #6948

@tacman

Description

@tacman

API Platform version(s) affected: 4.x/dev-main

Description

User Deprecated: The "ApiPlatform\Hydra\Serializer\HydraPrefixNameConverter" class implements "Symfony\Component\Serializer\NameConverter\AdvancedNameConverterInterface" that is deprecated since Symfony 7.2, use NameConverterInterface instead.

How to reproduce

Open warnings in Symfony debugger or review the logs

Image

Possible Solution

Go through all these and fix the use/implements

https://github.com/search?q=repo%3Aapi-platform%2Fcore%20AdvancedNameConverterInterface&type=code

Additional Context

I can make a PR if the change is really as trivial as changing the class name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions