apollo-link-token-refresh icon indicating copy to clipboard operation
apollo-link-token-refresh copied to clipboard

Not accepting multiple layer of object in response

Open pepemiso16 opened this issue 3 years ago • 1 comments

I've been encountering errors while using this library. If it is a direct single object or one-dimensional object it is working. However, if the response from API consists of multiple layers of an object, the handleFetch will not work.

{ "tokenDetails": { "data": { "token": "token", "refreshtoken": "refreshtoken" } } }

I am using fetch query same as the tutorial.

pepemiso16 avatar Mar 05 '21 04:03 pepemiso16

Same issue

eakl avatar Jun 01 '22 10:06 eakl