Skip to content

Commit

Permalink
Explain transactional_mutations better
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Apr 21, 2024
1 parent 3d6b2a6 commit c674847
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lighthouse.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,10 @@
| Transactional Mutations
|--------------------------------------------------------------------------
|
| If set to true, built-in directives that mutate models will be
| wrapped in a transaction to ensure atomicity.
| If set to true, the execution of built-in directives that mutate models
| will be wrapped in a transaction to ensure atomicity.
| The transaction is committed after the root field resolves,
| thus errors in nested fields do not cause a rollback.
|
*/

Expand Down

0 comments on commit c674847

Please sign in to comment.