Modify existing model QuestionSetListItem to contain along with average difficulty for a question set also a list of distinct categories of questions in this set ordered by the count of their occurrences in this list
Cover new code with unit tests and E2E tests
User story
As an API consumer,
I want to get with each question set also a list of categories from questions
So that I can create a view like this:
Description
Modify existing model
QuestionSetListItem
to contain along with average difficulty for a question set also a list of distinct categories of questions in this set ordered by the count of their occurrences in this listCover new code with unit tests and E2E tests
User story
As an API consumer, I want to get with each question set also a list of categories from questions So that I can create a view like this:![image](https://user-images.githubusercontent.com/92929243/161536289-99cd7cb2-a3a2-44c7-b107-055055ca1b49.png)
AC