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
Currently the 'Coordinator' in FlowBundle will throw a NotFoundHttpException if a Scenario is not valid. This limits flexibility and can be handled more effectively.
I'm willing to take care of it if we have an agreed solution. The best way I can think of is to have a ProcessValidator class available for extending or constructing that can be passed to the builder. If we want to keep the simplicity of the closure as well, we can transform it to the default validator. If a Scenario is invalid we can return a response using a selected or default error template; we can also redirect with a set flash message. Thoughts?
The text was updated successfully, but these errors were encountered:
Currently the 'Coordinator' in FlowBundle will throw a NotFoundHttpException if a Scenario is not valid. This limits flexibility and can be handled more effectively.
I'm willing to take care of it if we have an agreed solution. The best way I can think of is to have a ProcessValidator class available for extending or constructing that can be passed to the builder. If we want to keep the simplicity of the closure as well, we can transform it to the default validator. If a Scenario is invalid we can return a response using a selected or default error template; we can also redirect with a set flash message. Thoughts?
The text was updated successfully, but these errors were encountered: