Open pqienso opened 3 months ago
The result does not have to be passed through the parser
Team chose [response.Rejected
]
Reason for disagreement: This is not the way sequence diagrams were taught to us. Even if the result is not passed through parser, the control of the program should still be returned to parser, not directly back to :ui
.
:ui
calls the method ofparser
, which calls the method of theMeal
class. Yet, the result bypasses:parser
and immediately returns back fromMeal
to:ui
. This is not possible and is likely incorrect syntax.Additionally, the 3 arrows between
parser
andMeal
do not make any sense (1 is a dotted arrow but is labelled as a function call, and 1 says "return name" but is a solid arrow).