Closed rdickert closed 4 years ago
This query is ok. It looks like some or all of the non-relay-spec fields are failing, but the edges/node path is ok. It's really useful to have the non-relay ones when first showing people graphql. I use these examples in training, which is why I noticed this!
@rdickert Thanks for reporting 👍 I will try to fix it ASAP.
@rdickert Fixed in 29ec1bcc0ff626372b086a59c98d3bc3ab33bd55 Query from your initial post is working now.
I will keep this issue until I add new test cases to prevent similar regressions in future.
Awesome, thanks @IvanGoncharov
Or this query. It returns No entry in local cache for http://swapi.dev/api/people/?page=2. Seems like it should work.
I came here with the same issue as @GeneYoung1230 with the issue in the book.
Yeah I'm seeing the same error for any query other than { allFilms }
unfortunately.
I think I have a fix for this (very crude fix) that works for me™️. Borrowed a lot from #175 which looked to be on the right track.
https://github.com/tapayne88/swapi-graphql/tree/local-cache-entry-fix
Make sure to remove the cache file if you have it and re-download it, something like this should do it
rm -f cache/data.json && yarn download
I am getting this error no matter the query I do. Please help.
"No entry in local cache for http://swapi.dev/api/people/?page=2",
query here
Looks like there's a regression: This query used to work but now returns error
No entry in local cache for [object Object]
b0a73b6 Seems to be ok, so it happened at some point since then