twbs/savage

jcabi-github inefficiency

cvrebert opened this issue · 4 comments

jcabi-github seems to, in general, extract IDs from nested JSON objects and issue redundant API requests to fetch those objects, rather that loading those objects from a nested portion of the already-returned JSON.

Indirectly related: jcabi/jcabi-github#1092

Also, I'm unsure whether jsn or .json() results in a re-fetch every time.

Very tangential: jcabi-github returns most URLs as Strings instead of URLs