docs icon indicating copy to clipboard operation
docs copied to clipboard

Documentation use the `eraseCredentials` deprecated method.

Open VincentLanglet opened this issue 10 months ago • 0 comments

Since https://github.com/symfony/symfony/pull/59682 the eraseCredentials method is deprecated.

So the following page need to be updated https://api-platform.com/docs/symfony/user/#user-entity-with-symfony

https://api-platform.com/docs/symfony/user/#creating-the-entity-and-repository -> We have an implementation of the eraseCredentials method

https://api-platform.com/docs/symfony/user/#creating-and-updating-user-password -> Use the eraseCredentials method

I'm not sure what's the right way to do it now.

VincentLanglet avatar May 29 '25 10:05 VincentLanglet