Open apomalyn opened 4 months ago
Implement a LearningOrderRepository, it should:
LearningOrderRepository
List<ResourceUid> getNextResourcesToLearn([int maximum = 3])
user.learning.progression
The rules to increase the level or stage can be found in #218. Follow the rules:
Under src/core/repositories implement a LearningOrderRepository following the requirements.
src/core/repositories
To implement the getNextResourceToLearn use the LearningOrderService and KnowlegeLevelsService to access the Level and resources to learn.
getNextResourceToLearn
LearningOrderService
KnowlegeLevelsService
Level
Child of #218
Depends on:
Requirements
Implement a
LearningOrderRepository
, it should:List<ResourceUid> getNextResourcesToLearn([int maximum = 3])
that:user.learning.progression
The rules to increase the level or stage can be found in #218. Follow the rules:
What needs to be done
Under
src/core/repositories
implement aLearningOrderRepository
following the requirements.To implement the
getNextResourceToLearn
use theLearningOrderService
andKnowlegeLevelsService
to access theLevel
and resources to learn.Dependencies
Child of #218
Depends on:
148
226
229
Dev notes