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
We recently decided to use React Admin with API Platform for our internal app. React Admin linked your repo in their documentation, with a comment that this is a suitable dataProvider for our set up. Unfortunately, it doesn’t work as we hoped, and I wonder why.
Let me guide you through our case.
We have configured React admin with Next.js (v 13.4.19) with Hydra (JSON-LD) as the backend.
Then mostly for debugging purposes, we have added a hacky solution in the code to make apiSchema optional: screen nr 2 and we were able to display some data and even create some views as usersList, singleUser, userEdit but not everything worked as one might expect. Check out the chips fields it remains empty: screen nr 3.
Then we tried to edit the user in edit view: screen 4
After the editing for few seconds you can see the changes on usersList, even the chips fields work: screen 5
And then it all disappears with an error message: screen 6
From what we have observed, there is an introspection issue and apiSchema returns an undefined value when we try to log it.
The text was updated successfully, but these errors were encountered:
We recently decided to use React Admin with API Platform for our internal app. React Admin linked your repo in their documentation, with a comment that this is a suitable dataProvider for our set up. Unfortunately, it doesn’t work as we hoped, and I wonder why.
Let me guide you through our case.
We have configured React admin with Next.js (v 13.4.19) with Hydra (JSON-LD) as the backend.
https://github.com/api-platform/admin/blob/main/src/hydra/dataProvider.ts
but we were not able to display the API data at all, with the error as on the screen nr 1
From what we have observed, there is an introspection issue and apiSchema returns an undefined value when we try to log it.
The text was updated successfully, but these errors were encountered: