React Admin with ra-data-hasura Error: Unknown resource . Make sure it has been declared on your server side schema

React Admin with ra-data-hasura Error: Unknown resource . Make sure it has been declared on your server side schema


0

I’m using React Admin with GraphQL and ra-data-hasura. My problem is that the Introspection Query is made only when the app starts (user has role guest before login) and after login, the Introspection Query does not refetch, so I get errors for the resources that the logged in user should have access to. After a reload, a new introspection query is made and the resources seem to be available. Any ides how can I force the introspection query after login? or refresh the entire data provider

error displayed

I tried to force refetching the Introspection Query, but it did not work. I think it needs a full data provider refresh to work

New contributor

Maria Fele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


Load 3 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *