Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json() undefined when rawData is true #31

Open
AbanoubNassem opened this issue Sep 6, 2019 · 1 comment
Open

json() undefined when rawData is true #31

AbanoubNassem opened this issue Sep 6, 2019 · 1 comment

Comments

@AbanoubNassem
Copy link

AbanoubNassem commented Sep 6, 2019

when rawData is true , it caches the response with response including the data as promise , so when retrieving it from the cache , the json method won't work.

any suggestions ?

@dokudoki
Copy link

I handle it with responseMiddleware and manually return .json()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants