Skip to content

Conversation

@alwaysLinger
Copy link
Contributor

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
}

@alwaysLinger
Copy link
Contributor Author

dtm version: 1.17.1

@PandaLIU-1111 PandaLIU-1111 merged commit 1b60067 into dtm-php:master Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants