Override/Add transitions
kayue opened this issue · comments
Similar to #40, currently it is not possible to add new transitions to an existing graph.
However states
is able to extend from pervious config.
Another question, when I try to extend an existing graph, I must define class
, property_path
and graph
again. Is this an expected behaviour?
finite_finite:
sylius_order_shipping:
class: %sylius.model.order.class%
property_path: shippingState
graph: sylius_order_shipping
ping @winzou
Are you sure?
This is just symfony configuration. Transitions and states have names so it should be possible to override and add some.
But state/transition deletion is not possible indeed.
Seems weird as config is merged by symfony.