nerdishbynature / octokit.swift

A Swift API Client for GitHub and GitHub Enterprise
MIT License
488 stars 126 forks source link

How to disable caching? #145

Closed Nikoloutsos closed 1 year ago

Nikoloutsos commented 1 year ago

I'm using Octokit(config).pullRequests(owner: , repository: ) but if I make a change in my Github PR it doesn't fetch the new data when called. Looks like it is caching the response for a while.

Is there any way to disable this, and always fetch from a fresh api call?

pietbrauer commented 1 year ago

There was some discussion over here. Maybe this helps? https://github.com/nerdishbynature/RequestKit/pull/81#issuecomment-1024964772