Why extra API call? #1845
-
Hello all, Been testing out this library and noticed that we require more API calls than necessary with the approach taken in this library. For eg:, if I'd like to post to the Curious, why was this approach taken over simply constructing the required endpoint (considering the restrictive API limits for Github)? Is there any caching being done to avoid multiple getRepository calls for the same repository? Or is the consuming service expected to handle the caching? Perhaps it's somewhere in the docs, but I could not find it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Not sure: github-api/src/main/java/org/kohsuke/github/GitHub.java Lines 682 to 687 in 2e6dcc1 Not sure how this is working in your code given the above... |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Yes, that is an potential enhancement. Please feel free to file an issue for this.