target / goalert

Open source on-call scheduling, automated escalations, and notifications so you never miss a critical alert
https://goalert.me
Apache License 2.0
2.17k stars 229 forks source link

graphql: use tx with create alert #3776

Closed mastercactapus closed 3 months ago

mastercactapus commented 3 months ago

Description: It uses withContextTx for the transaction to create an alert and allow for additional calls, like storing metadata. This removes the need for the Store to create and commit its own transaction when the request may already have one available.

Which issue(s) this PR fixes: Related to work for #3764 (#3653)