Skip to content

Commit

Permalink
Expose gameReviewsSummary as Elide root
Browse files Browse the repository at this point in the history
Since not every game has a review summary, querying games and sorting
by review score is very inefficient. This way, the review summaries can
be queried directly.
  • Loading branch information
micheljung committed Apr 21, 2019
1 parent 533a5d4 commit 3d94cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@Entity
@Setter
@Table(name = "game_reviews_summary")
@Include(type = "gameReviewsSummary")
@Include(rootLevel = true, type = "gameReviewsSummary")
@Immutable
public class GameReviewsSummary {
private int id;
Expand Down

0 comments on commit 3d94cf1

Please sign in to comment.