swapi-graphql icon indicating copy to clipboard operation
swapi-graphql copied to clipboard

Fixed caching logic to fetch all the necessary data

Open Oleksandr37 opened this issue 6 months ago • 1 comments

This PR updates the cacheResources function to improve the completeness and reliability of the resource caching process.

In addition to fetching the main resource lists (e.g., /people, /starships), the function now follows and caches each item's url to retrieve detailed data for every entry.

Oleksandr37 avatar May 12 '25 18:05 Oleksandr37

Thanks! Now I'll have to redo my conclusions in lab work!

anzhhm avatar May 12 '25 19:05 anzhhm