-
Notifications
You must be signed in to change notification settings - Fork 328
Closed as not planned
Closed as not planned
Copy link
Labels
in: dataIssues related to working with dataIssues related to working with datastatus: supersededIssue is superseded by anotherIssue is superseded by anothertype: documentationA documentation taskA documentation task
Description
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.
Metadata
Metadata
Assignees
Labels
in: dataIssues related to working with dataIssues related to working with datastatus: supersededIssue is superseded by anotherIssue is superseded by anothertype: documentationA documentation taskA documentation task