Closed alwaysLinger closed 1 year ago
In saga mode, with concurrent enabled but without branch orders set. orders => [] will be sent to DTM which is imcompatible with golang struct. So just simply send orders => null when no orders get set.
type cSagaCustom struct { Orders map[int][]int json:"orders" Concurrent bool json:"concurrent" cOrders map[int][]int }
json:"orders"
json:"concurrent"
dtm version: 1.17.1
In saga mode, with concurrent enabled but without branch orders set. orders => [] will be sent to DTM which is imcompatible with golang struct. So just simply send orders => null when no orders get set.
type cSagaCustom struct { Orders map[int][]int
json:"orders"
Concurrent booljson:"concurrent"
cOrders map[int][]int }