Skip to content

Standardize GraphQL mutation error handling#3680

Merged
josephsnyder merged 16 commits into
Kitware:masterfrom
williamjallen:graphql-error-messages
Apr 30, 2026
Merged

Standardize GraphQL mutation error handling#3680
josephsnyder merged 16 commits into
Kitware:masterfrom
williamjallen:graphql-error-messages

Conversation

@williamjallen
Copy link
Copy Markdown
Collaborator

Our GraphQL mutations currently use a combination of thrown and caught exceptions, lighthouse-php error handling, and a messages data field used as an error field. This PR switches everything to report proper GraphQL errors where appropriate, allowing clients to process errors using built-in error handling mechanisms.

@josephsnyder josephsnyder added this pull request to the merge queue Apr 30, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 30, 2026
@josephsnyder josephsnyder added this pull request to the merge queue Apr 30, 2026
Merged via the queue into Kitware:master with commit 26bc937 Apr 30, 2026
7 checks passed
@williamjallen williamjallen deleted the graphql-error-messages branch May 1, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants