While documenting the goals retrieval function I noticed that probably the way of restricting the user input from 'daily' to 'weekly' by accepting an instance of GoalPeriod is convoluted and probably bad designed, an investigation on what could the best way of doing this should be done.
While documenting the goals retrieval function I noticed that probably the way of restricting the user input from
'daily'
to'weekly'
by accepting an instance ofGoalPeriod
is convoluted and probably bad designed, an investigation on what could the best way of doing this should be done.