So, I'm using your library, and I just saw that to download all my projects (97) I need to perform 4 requests.
This because Redmine uses 25 as limit by default.
Why just not using something like
public List<Project> getProjects() throws RedmineException {
try {
return transport.getObjectsList(Project.class,
new RequestParam("include", "trackers"), new RequestParam("limit", "100"));
} catch (NotFoundException e) {
throw new RedmineInternalError("NotFoundException received, which should never happen in this request");
}
}
So, I'm using your library, and I just saw that to download all my projects (97) I need to perform 4 requests.
This because Redmine uses 25 as limit by default.
Why just not using something like
here
https://github.com/taskadapter/redmine-java-api/blob/e7d4eff4d2a38c18b081781b27ca3d84878a9d23/src/main/java/com/taskadapter/redmineapi/ProjectManager.java#L65-L72
so that we will have to make 1/4 of the requests?