-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs error after upgrading to API Platform v4.0.2 (backend) and API Platform Admin v4.0.1 (frontend) #583
Comments
These versions are not correlated. AP Admin major version change from 3.x to 4.x was done only because of adding React Admin 5.x support what was a breaking change. |
@alanpoulain @dunglas can api doc parser be compatible with the latest two versions of API Platform? |
It's maybe because we removed the |
Could you please try to set the # api/config/packages/api_platform.yaml
api_platform:
serializer:
hydra_prefix: true |
Set the |
Thanks, it's OK with |
Hi API Platform Admin Team,
I was previously using API Platform v3.3.7 for my backend and API Platform Admin v3.4.7 for my frontend.
After upgrading to API Platform v4.0.2 and API Platform Admin v4.0.1, I encountered the following error on the frontend :
The hydra-prefixed tags have been removed from my APIs as expected, but the API responses are otherwise in the correct format.
Interestingly, if I revert the backend to API Platform v3.3.7 while keeping the frontend at API Platform Admin v4.0.1, everything works fine. The issue only appears when both the backend and frontend are on the latest versions (v4.x).
Thank you for your help!
The text was updated successfully, but these errors were encountered: