api-platform / admin

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

How can I use combineDataProviders? #580

Closed endrits079 closed 3 weeks ago

endrits079 commented 3 weeks ago

Hi, I need to use 2 different data providers, one is a hydra provider and the other one is a simple rest provider. In react admin it is possible to pass an instance of combineDataProviders which allows you to select the data provider based on the resource, how could the same be achieved with @api-platform/admin

endrits079 commented 3 weeks ago

It seems to be just a typescript incompatibility, providing an instance of combineDataProviders is working