api-platform / admin

A beautiful and fully-featured administration interface builder for hypermedia APIs
https://api-platform.com/docs/admin/
MIT License
483 stars 131 forks source link

Provide documentation on how to use multiple dataproviders #368

Closed freakheart closed 3 years ago

freakheart commented 3 years ago

Description
Please provide some documentation on how I can have more than one data provider using API platform admin.

Example
I have 3 APIs and I want to build one Admin app that can use all those APIs. React-admin has a way to do this, but I am not sure how to do it using API platform admin. Any info would be great. Thanks.

alanpoulain commented 3 years ago

I don't think the documentation should be here. The AdminGuesser component is using the same props as the Admin component in react-admin. You can do exactly the same in react-admin and in API Platform admin.

freakheart commented 3 years ago

What about the possibility to have more than one Entrypoint?

alanpoulain commented 3 years ago

You should create your own data provider to do that.