twbs / savage

Service to safely run Travis CI tests with heightened permissions on pull requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jcabi-github inefficiency

cvrebert opened this issue · 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