Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphql: Improve error handling for validation for arg and param types #4054

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

mastercactapus
Copy link
Member

Description:
Fixes an issue where invalid fields would result in 500 unexpected errors for field validation issues.

  • arg and param errors are now correctly marked client-safe
  • updated error presenter to return proper codes for these types

- Add handling for DestArgError and ActionParamError
- Include client-specific error details in responses
@github-actions github-actions bot added the size/s label Sep 4, 2024
@mastercactapus mastercactapus merged commit 219771e into master Sep 4, 2024
7 checks passed
@mastercactapus mastercactapus deleted the fix-dst-arg-500s branch September 4, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants