Games gallery makes a request for each game
Bug #787403 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MUGLE |
Triaged
|
Low
|
Unassigned |
Bug Description
Unfortunately, as of fixing bug #787368, the games gallery necessarily needs to make a server request for each game -- it needs the game's devteam to construct the URL. This is pretty bad; find a way around it.
Possibly set a custom field in Game (by getGames) which contains the full DevTeam object. Or a method in DevTeamService which takes a list of games and gets their devteams.
To post a comment you must log in.
The easiest way I can think of is, simply like how ActiveVersion is populated in the GameServiceImpl, the DevTeam can also be populated in a custom field in the wrapper. When adding a new field to a wrapper class (ModelClientClass), there are NO rules so you don't have to worry about breaking the ModelWrapper.
However, I can do it when I get home in a couple of hours, if you want.