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
first of all, many thanks for this awesome library !
I'm facing a problem with React / Redux & Axios Driver. I read many times documentation but i can not find any way to retrieve http status code and headers with getQuery method. The only way i found is to use then method on dispatch.
Maybe i missing something ?
The text was updated successfully, but these errors were encountered:
Regarding your question, unfortunately for now no, actually this is how it is, some people asked for status code and headers and I added this only to dispatch promise.
I wil try to do it in the future so that this will be also compatible with getQuery. For now this works only for errors, as for successful responses only data is stored in reducer.
There is a way though, you can use onRequest for example to merge response status code or headers with data, so then you will get them with getQuery
Hi,
first of all, many thanks for this awesome library !
I'm facing a problem with React / Redux & Axios Driver. I read many times documentation but i can not find any way to retrieve http status code and headers with getQuery method. The only way i found is to use then method on dispatch.
Maybe i missing something ?
The text was updated successfully, but these errors were encountered: