Open ahurt2000 opened 9 years ago
@ahurt2000 Do we really want a StateException
if an event rejects the transition?
hum good question! may is better a TransitionException
Well, there's another way to approach it ignoring the event status as before. But then it makes sense that the event is rejected?
I’m :+1: for this PR..just not sure whether to throw an Exception or fail silently (return;
)
Well..failing silently is not a good idea - nevermind.
Hum, sorry for taking this so late, but does it makes sense to reject a pre transition event ?
I think the real problem comes from the current implementation, that allow that. In fact, we can reject a post transition event…
2.0 version will probably split TestTransition and ApplyTransition events.
The issue 77 explain the problem. I suggest this change to resolve it.