You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we're integrating Finite in our project and we're implementing our transition logic as concrete implementations of TransitionInterface. Tracing through the source, we've found the the parameters passed to StateMachine::apply() aren't passed to TransitionInterface::process.
Is there a reason for this?
Would a PR be accepted to change this?
The text was updated successfully, but these errors were encountered:
There is a single reason behind this : it implies modification on the TransitionInterface, which is a BC break...
I'll accept a PR for that with pleasure, but it implies a version bump to 2.0, which will not be tagged now as I have some new feature to include at the same time.
The current way to retrieve parameters at transition time is to implement listeners. Or to declare a method of your custom transition class as a transition callback.
Hi, we're integrating Finite in our project and we're implementing our transition logic as concrete implementations of TransitionInterface. Tracing through the source, we've found the the parameters passed to StateMachine::apply() aren't passed to TransitionInterface::process.
Is there a reason for this?
Would a PR be accepted to change this?
The text was updated successfully, but these errors were encountered: