Finite icon indicating copy to clipboard operation
Finite copied to clipboard

Override/Add transitions

Open kayue opened this issue 11 years ago • 2 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

kayue avatar May 15 '14 04:05 kayue

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.

winzou avatar May 15 '14 05:05 winzou

Seems weird as config is merged by symfony.

yohang avatar May 20 '14 07:05 yohang