Multiple providers - don't neccesiate default provider?

Hi guys, Opening it here for a discussion rather than a github issue. I use multiple providers, but I don't really have a default one. If choosing the multiple providers, we currently have to provide a default provider. Is it necessary? Could it perhaps be optional? I currently "bypass" it by providing a uri that doesn't exists and so it simply doesn't build an actual provider (I build the providers dynamically via given urls), but I'd rather just not have this default one.
2 Replies
refine-support-bot
Hi, I am refine support bot :wave:. I am here to help you with your question. I searched for the answer to your question in the refine documentation and found an answer! 🏆
Answer: It is not necessary to provide a default provider when choosing multiple providers. SOURCES: ./docs/tutorial/2-understanding-dataprovider/0-intro.md

Note: If this is the answer you need, then we are very lucky. If not, please wait for someone from the refine core team or the community to try to help you.
absent-sapphire
absent-sapphire2y ago
Wait this is interesting and I want to explore it because it's not what the error I'm getting is saying, but I can't find this tutorial page Oh OK I found the page and it does not say that lol