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
In GraphQL it is possible to execute 1.n mutation.
mutation multipleMutations {
m1:createRoute(flightNumber:"LH2722") {
id
}
m2:createRoute(flightNumber:"LH2728") {
id
}
}
If I write the data per mutation via a CrudRepository, each mutation is transactional on its own. But how can I pack all mutations into a transaction bracket. Is there transaction support via a transactional ExcecutionStrategy or is there possibly @Transaction directives support?
mutation @Transaction multipleMutations {
m1:createRoute(flightNumber:"LH2722") {
id
}
m2:createRoute(flightNumber:"LH2728") {
id
}
}
Perhaps the documentation could be expanded to include a Transaction chapter and describe the current options.